on 09-10-2009 5:40 AM
Hi all,
I developed a function module, Web service for this RFC enable function module & Proxy to consume that web service. But when I am going to test this Proxy (From SE80, Proxy > Test), It;s giving me a message
SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/.
And I didn't test the Proxy, I regenerate the Web service(Just because any issue in WSDL code), but it also not working for me.
Can you please suggest me why I am facing this type of Problem.
Thanks
Sanket sethi
Hi Sanket,
Can you please give more details.
What is your scenario?
You developed RFC and exposed it as web service? Where are you trying to consume it? Is it a different system?
Regards,
Vikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here's some lines of my WSDL code:
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:n1="urn:sap-com:document:sap:rfc:functions">
- <wsdl:documentation>
<sidl:sidl xmlns:sidl="http://www.sap.com/2007/03/sidl" />
</wsdl:documentation>
<wsp:UsingPolicy wsdl:required="true" />
- <wsp:Policy wsu:Id="IF_ZWS_Proof_concept">
<wsp:ExactlyOne xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:sapsp="http://www.sap.com/webas/630/soap/features/security/policy" xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" />
- <sapsession:Session xmlns:sapsession="http://www.sap.com/webas/630/soap/features/session/">
<sapsession:enableSession>false</sapsession:enableSession>
</sapsession:Session>
Hi,
to me it seems you are using WSDL type RPC (not RFC), try to use wsdl of document type url of your service should end with:
"http://xxxxxxxxxxxx:xxxxxx/xxxxxxxxxxxxx/ wsdl11/ws_policy/document?sap-client=800"
*"http://xxxxxxxxxxxx:xxxxxx/xxxxxxxxxxxxx/wsdl11/ws_policy/rpc?sap-client=800" *.
change it in SE85, search your service and see details there and then try to recreate proxy with "Document" style wsdl.
Try other way round as well.
Regards,
Gourav
Hi,
did you check Transaction LPCONFIG if a Default Logical Port is defined so you can test your proxy client with a LP via the Webservices Runtime?
Regards,
Daniel Nimtsch
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.