on 10-19-2005 11:49 AM
Hi
We have SAP WebAS 6.2 using SOAP/XML to communicate with IIS/.Net. The request message reaches .Net and data is returned successfully. However any data passed into .Net via XML / Web Method parameters has no value when it reaches .Net (i.e strings are null).
We think it's a namespace problem but we are not sure how to fix it. The WSDL published by .NET uses target namespace "http//tempuri.org/WebService2/Service1".
In the SAP program we have the following:
CALL METHOD osoap->set_method
EXPORTING
nsprefix = 'saprfc'
nsvalue = CSoapCosntants=>sc_rfc_function_ns (urn:sap-com:document:sap:rfc:functions)
name = soapmet (Z_SOAP_IIS_TEST'
Do I need to reset the nsvalue to the namespace given in the .NET published WSDL or is ther something else I should look for?
Thanks for any help
TB
Remove the nsprefix altogether and set nsvalue to 'http://tempuri.org' + the webservice name and all is okay
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.