• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling enterprise webservice from js

 
Trupti raikar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic