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

RE: [soapbuilders] namespacing method elements (MS/Apache)

Expand Messages
  • Carlos C. Tapang
    Have you tried adding a namespace attribute to the element in the binding section of your WSDL? In this case,
    Message 1 of 2 , May 30 11:29 AM
    • 0 Attachment
      Have you tried adding a namespace attribute to the <soap:body> element in
      the binding section of your WSDL? In this case,

      <soap:body ... namespace="urn:Account">
      ...
      </soap:body>

      --Carlos

      > -----Original Message-----
      > From: Ed Keen [mailto:edk@...]
      > Sent: Wednesday, May 30, 2001 10:53 AM
      > To: 'soapbuilders@yahoogroups.com'
      > Subject: [soapbuilders] namespacing method elements (MS/Apache)
      >
      >
      > I am using a Microsoft client to send soap messages to an Apache
      > server. I
      > have come up with an initial wsdl file so I can use the
      > high-level api that
      > MS provides. However, when I run the client, I get this error back from
      > Apache: "Unable to determine object id from call: is the method element
      > namespaced?"
      >
      > The body of the soap request going through *should* look like this:
      >
      > <SOAP-ENV:Body>
      > <ns1:simpleSoapTest xmlns:ns1="urn:Account" />
      > <dataIn xsi:type="xsd:string">foo foo</dataIn>
      > </ns1:simpleSoapTest>
      > </SOAP-ENV:Body>
      >
      > However, what is being sent is this:
      >
      > <SOAP-ENV:Body>
      > <simpleSoapTest>
      > <dataIn>foo foo</dataIn>
      > </simpleSoapTest>
      > </SOAP-ENV:Body>
      >
      > I understand how to deal with the missing "xsi/xsd" tags, but how do I get
      > my wsdl file to append the "ns1" and "xmlns" namespace indicators to the
      > method name tag? Is there some special binding that I need in the wsdl
      > file?
      >
      > Thanks,
      > Ed
      >
      >
      > To unsubscribe from this group, send an email to:
      > soapbuilders-unsubscribe@yahoogroups.com
      >
      >
      >
      > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.