aspose file tools*
The moose likes Web Services and the fly likes Calling enterprise webservice from js Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Calling enterprise webservice from js" Watch "Calling enterprise webservice from js" New topic
Author

Calling enterprise webservice from js

Trupti raikar
Greenhorn

Joined: Dec 26, 2008
Posts: 1
Hi,
I am trying to call below wenservice.
http://usai2peg.wdf.sap.corp:50010/sap/bc/srt/xip/sap/ECC_PURCHASEREQUEST002QR?sap-client=000&wsdl=1.1

my request is
<?xml version="1.0" encoding="UTF-8" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><ns1 urchaseRequestByIDQuery_sync xmlns:ns1="http://sap.com/xi/SAPGlobal20/Global"><PurchaseRequestSelectionByID><PurchaseRequestID xmlns ns="http://sap.com/xi/APPL/SE/Global">10000001</PurchaseRequestID></PurchaseRequestSelectionByID></ns1 urchaseRequestByIDQuery_sync></SOAP-ENV:Body></SOAP-ENV:Envelope>

I am calling this webservice from javascript.

but instead of response data i am getting the comple wsdl as response.

can any one help me?

-trupti
 
jQuery in Action, 2nd edition
 
subject: Calling enterprise webservice from js