Loading ...
Sorry, an error occurred while loading the content.

Re: [soapbuilders] Re: My .NET service not reading double input parameter

Expand Messages
  • HUSSAIN ZAHID
    Thanks. ... xmlns:soapenv= http://schemas.xmlsoap.org/soap/envelope/ ... xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance ...
    Message 1 of 13 , May 26, 2003
    • 0 Attachment
      Thanks.

      --- Akira Kaji <akaji@...> wrote:
      >
      >
      >
      >
      > Hi zahid.
      > I tried Inter Op testing under
      > -ApacheSOAP 2.3 Client to .NET XMLWebService
      > -AXIS Client(Enbeded IBM WSDK v5) to .NET
      > XMLWebService
      > and,the request I had send before was generated by
      > ApacheSOAP 2.3.
      > The request generated by AXIS Client is below,
      > and SOAP Envelove's tag is <soapenv:Envelope>.(as
      > you mentioned)
      >
      > Here is the request genereted by AXIS Client
      > =================================================
      > POST /akaji/service1.asmx HTTP/1.0
      > Content-Type: text/xml; charset=utf-8
      > Accept: application/soap+xml, application/dime,
      > multipart/related, text/*
      > User-Agent: Axis/1.0
      > Host: XXX.XXX.XXX.XXX
      > Cache-Control: no-cache
      > Pragma: no-cache
      > SOAPAction: "http://tempuri.org/HelloWorld"
      > Content-Length: 454
      >
      > <?xml version="1.0" encoding="UTF-8"?>
      > <soapenv:Envelope
      >
      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
      > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      >
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      > <soapenv:Body>
      > <ns1:HelloWorld
      >
      soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      > xmlns:ns1="http://tempuri.org/">
      > <ns1:arg xsi:type="xsd:string">akaji</ns1:arg>
      > </ns1:HelloWorld>
      > </soapenv:Body>
      > </soapenv:Envelope>
      >
      >
      > AKAJI
      >
      >
      >
      >
      > HUSSAIN ZAHID
      >
      >
      > <zahid14@... To:
      > soapbuilders@yahoogroups.com
      >
      > m> cc:
      >
      >
      >
      > Subject: Re: [soapbuilders] Re: My .NET service not
      > reading double input parameter
      > 2003/05/25 00:45
      >
      >
      > Please respond to
      >
      >
      > soapbuilders
      >
      >
      >
      >
      >
      >
      >
      >
      >
      >
      >
      > The AXIS SAAJ 1.x API generates <SOAPENV:Envelope>
      > element name for the SOAP envelop
      > but MS .NET is expecting <SOAP-ENV:Envelope>,
      > the '-' is missing from AXIS api.
      >
      > What version of AXIS are you using?
      >
      > -Zahid
      >
      > --- Akira Kaji <akaji@...> wrote:
      > >
      > >
      > >
      > >
      > > Thanks Fred,
      > >
      > > >In the "Helloworld" case, try replacing "arg"
      > with
      > > "ns1:arg" and see if
      > > >that makes a difference.
      > >
      > > Replacing "arg" with "ns1:arg",
      > > .NETXMLWebService gets input parameter. (both axis
      > > and apchesoap client)
      > >
      > > Here are Request & Response
      > > Request
      > > ===============================================
      > > POST http://XXXX/akaji/service1.asmx HTTP/1.0
      > > Host: XXX.XXX.XXX.XXX:80
      > > Content-Type: text/xml; charset=utf-8
      > > Content-Length: 460
      > > SOAPAction: "http://tempuri.org/HelloWorld"
      > >
      > > <?xml version='1.0' encoding='UTF-8'?>
      > > <SOAP-ENV:Envelope
      > >
      >
      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
      > >
      >
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      > > xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      > > <SOAP-ENV:Body>
      > > <ns1:HelloWorld xmlns:ns1="http://tempuri.org/"
      > >
      >
      SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      > > <ns1:arg xsi:type="xsd:string">akaji</ns1:arg>
      > > </ns1:HelloWorld>
      > > </SOAP-ENV:Body>
      > > </SOAP-ENV:Envelope>
      > >
      > > Response
      > > ==================================================
      > > HTTP/1.0 200 OK
      > > Date: Sat, 24 May 2003 07:50:26 GMT
      > > Content-Length: 375
      > > Content-Type: text/xml; charset=utf-8
      > > Cache-Control: private, max-age=0
      > > Server: Microsoft-IIS/5.0
      > > X-Powered-By: ASP.NET
      > > X-AspNet-Version: 1.1.4322
      > > Via: 1.1 netcache1 (NetCache NetApp/5.2.1R3)
      > >
      > > <?xml version="1.0" encoding="utf-8"?>
      > > <soap:Envelope
      > >
      >
      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
      > >
      >
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      > > xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      > > <soap:Body>
      > > <HelloWorldResponse xmlns="http://tempuri.org/">
      > > <HelloWorldResult>Hello World
      > > -->akaji</HelloWorldResult>
      > > </HelloWorldResponse>
      > > </soap:Body>
      > > </soap:Envelope>
      > >
      > >
      > > AKAJI
      > >
      > >
      > >
      > > Fred Carter
      > >
      > >
      > > <fred.carter@ambe To:
      > > zahid14@..., Akira Kaji/Japan/IBM@IBMJP
      > >
      > > rpoint.com> cc:
      > >
      > >
      > >
      > > Subject: Re: [soapbuilders] Re: My .NET service
      > not
      > > reading double input parameter
      > > 2003/05/24 03:18
      > >
      > >
      > > Please respond to
      > >
      > >
      > > fred.carter
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > > (Sorry -- postings to the group aren't working for
      > > me at the moment.
      > > Mail system changes, etc.)
      > >
      > > Another possibility is naming. If you look at the
      > > input message of the
      > > original query, neither the "method name" element
      > > (immediate child of
      > > soap:body) nor the parameter name have a namespace
      > > associated with them.
      >
      === message truncated ===

      > ATTACHMENT part 2 image/gif name=pic01925.gif


      > ATTACHMENT part 3 image/gif name=pic30501.gif



      __________________________________
      Do you Yahoo!?
      The New Yahoo! Search - Faster. Easier. Bingo.
      http://search.yahoo.com
    Your message has been successfully submitted and would be delivered to recipients shortly.