Forums Register Login

Calling enterprise webservice from js

+Pie Number of slices to send: Send
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
Put the moon back where you found it! We need it for tides and poetry and stuff. Like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1189 times.
Similar Threads
Webservices and Websphere 5.1
SOAP Request and Response problem
Soap Envelope not version 1.1
SOAPTextElement in my SOAPBody
NullPointerException returned from webservice
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:31:20.