CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Threaded View

  1. #1

    Ways to return XML from function in SoapServer function?

    Hi,

    I'm struggling with a webservice at the moment. I can invoke the service from multiple clients and get a response. The problem is the server seems to be returning the XML that I want it to return but it is stripping the content of xml that contains attributes so:

    Code:
    <Element attr="123">123</Element>
    Becomes:

    Code:
    <Element attr="123" />
    SOAP UI can connect to the WSDL and generate a dummy output and it suggests the output should be as expected but when the web service itself returns to SOAP UI content is stripped.

    I use PHP Pear Unserializer to read the XML in and it seems to put everything nicely in an array. I fear the array cannot be parsed properly by the server code.

    Are there any alternatives to returning an array from Unserializer for returning XML from the webservice?
    Last edited by goatslayer; March 16th, 2011 at 03:11 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured