Try using the wsdl2java stuff that will generate the proxies for you. The documentation is here (beware line breaks!):
http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/user-gui de.html#WSDL2Java ______________________ Scott Seely -----Original Message----- From: ajack [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 4:37 PM To: [EMAIL PROTECTED] Subject: org.apache.axis.message.RPCElement back from Document style call... I am attempting to call a .Net web services, a document style operation, via AXIS beta 1 and for the first time. I've trawled the code/documentation and the mailing list archive but I do not seem able to find a sample, so I've done what I can. Basically I do (amongst t he usual others) : - Call.setProperty( org.apache.axis.client.Call.OPERATION_STYLE_PROPERTY, "document"); - Call.invoke w/ an array of org.apache.axis.message.SOAPBodyElement - get the return object from invoke and I seem to get back a vector of: org.apache.axis.message.RPCElement ... which is not right, and which crashes if I try to open it up [e.g. getParams()]. [Note: if I do a toString I get a single memeber in the XML inside.] ------------------------------------------------------------------------ ---- ------ Call Response: [java.util.Vector] [[<GetTrackingInfoResponse xmlns="http:/ /www.serviceobjects.com/"><GetTrackingInfoResult><strTrackingNumber&g t;1Z 1689 W20341211926</strTrackingNumber><strReferenceNumber></str Refe renc eNumber><strShipDate>/12/20/2001/</strShipDate><strDel iver edTo >DOCK</strDeliveredTo><strDeliveryLocation>COMPTON, CA, US</st rDeliveryLocation><strDeliveryDateTime>Dec 21, 2001 10:48 A.M.</strD eliveryDateTime><strSignedBy>HERRERA</strSignedBy><str Serv iceT ype>GROUND</strServiceType><strWeight>3.00</strWeight& gt;& lt;s trStatus>Undelivered</strStatus><strEstDeliveryDate></ strE stDe liveryDate><strPurchaseOrderNumber></strPurchaseOrderNumber& gt;& lt;s trInvoiceNumber></strInvoiceNumber></GetTrackingInfoResult></Ge tTra ckin gInfoResponse>]] Vector Element is [org.apache.axis.message.RPCElement] ------------------------------------------------------------------------ ---- ------ Am I missing some switch which tells AXIS how to process the result? I see one such method, but it doesn't read like it does what I need. Also, since I've set document style, I wouldn't have thought I'd have needed to. Any advise/pointers appreciated. regards Adam -- Open Business Interchange: <http://www.openbiz.biz> The Revolutionary B2Bi Web Service ...