cancel
Showing results for 
Search instead for 
Did you mean: 

WebAS 6.2 Web Service

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Remove the nsprefix altogether and set nsvalue to 'http://tempuri.org' + the webservice name and all is okay