Skip to Content
author's profile photo Former Member
Former Member

Web Services return null

Hi,

my problem is that the return value ret and bapiret is null. The function Z_SAPTEST is remote-enabled and the import parameter achieved the function.

ICredentials cred = new NetworkCredential("test","test");

Z_SAPTEST.Z_SAPTESTService webref = new Z_SAPTEST.Z_SAPTESTService();

Z_SAPTEST.BAPIRETURN bapiret = new Z_SAPTEST.BAPIRETURN();

webref.Credentials = cred;

string ret = webref.Z_SAPTEST("Hello", out bapiret);

Thanks for help,

Sven

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 23, 2004 at 12:18 PM

    I'd recommend using a Network Sniffer (e.g. Ethereal) to look what XML goes over the wire. I have seen some cases where the XML-namespaces sent over wire have been different than declared in WSDL. This depends on patch version of WAS.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.