[Chicago-talk] Adding namespace in Method Response

Mithun Bhattacharya inzoik at yahoo.com
Thu Aug 12 13:20:15 PDT 2010


I apologize the XML's are as follows

[POE]
    <namesp1:hiResponse xmlns:namesp1="http://127.0.0.1:32080/">
      <s-gensym3 xsi:type="xsd:string">Hello</s-gensym3>
    </namesp1:hiResponse>

[Apache::SOAP]
    <hiResponse xmlns="http://127.0.0.1/Demo">
      <s-gensym3  xsi:type="xsd:string">Hello</s-gensym3>
    </hiResponse>




________________________________
From: Mithun Bhattacharya <inzoik at yahoo.com>
To: chicago-talk at pm.org
Sent: Thu, August 12, 2010 3:00:54 PM
Subject: Adding namespace in Method Response


Hi,

I am trying to migrate a set of web services to run under Apache::SOAP instead 
of POE::Component::Server::SOAP and am observing a behavior which has halted the 
whole process.

I have attached a sample service running under POE and its CGI equivalent. With 
SOAP::Trace enabled the soap body for POE was
    
      <s-gensym3 xsi:type="xsd:string">Hello</s-gensym3>
    </namesp1:hiResponse>

whereas the Apache::SOAP code is generating
    
      <s-gensym3  xsi:type="xsd:string">Hello</s-gensym3>
    </hiResponse>

The  above difference is preventing a .Net client from reading the  response.

Any suggestions or pointers would be highly appreciated.



- Mithun 



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/chicago-talk/attachments/20100812/df51f1eb/attachment.html>


More information about the Chicago-talk mailing list