Skip to Content
0
Former Member
Oct 19, 2005 at 10:49 AM

WebAS 6.2 Web Service

23 Views

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