The difference between the two requests is in the namespace URIs of AuthenticationInfo and its children. In the first request all elements are in the "urn:VOIP_SIP_Trouble_Ticket10" namespace, while in the second, AuthenticationInfo is in "urn:VOIP_SIP_Trouble_Ticket" and its children in "AuthenticationInfo".
Andreas On Wed, Dec 31, 2008 at 21:17, excess2 <gafo...@yahoo.com> wrote: > > I need to use a web service residing on IIS 5.0 using axis2. > > The ws returns a 500 error. > > There must be something wrong with my request but I can't figure out the > problem. > > The outgoing request looks like this (captured from wireshark). > > POST > /arsys/services/ARService?server=arsp002.us.primus&webService=VOIP_SIP_Trouble_Ticket > HTTP/1.0 > > Content-Type: text/xml; charset=UTF-8 > > SOAPAction: "urn:VOIP_SIP_Trouble_Ticket10/OpGet" > > User-Agent: Axis2 > > Host: mcldevmidt01.us.primus > > Content-Length: 556 > > > > <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><ns1:AuthenticationInfo > xmlns:ns1="urn:VOIP_SIP_Trouble_Ticket10" > soapenv:mustUnderstand="0"><ns1:userName>Glen</ns1:userName><ns1:password>glen</ns1:password><ns1:locale></ns1:locale><ns1:timeZone></ns1:timeZone></ns1:AuthenticationInfo></soapenv:Header><soapenv:Body><ns1:OpGet > xmlns:ns1="urn:VOIP_SIP_Trouble_Ticket10"><ns1:Ticket_Number>SIP000000000001</ns1:Ticket_Number></ns1:OpGet></soapenv:Body></soapenv:Envelope> > > A working request from another project that uses weblogic looks like this > > POST > /arsys/services/ARService?server=arsp002&webService=VOIP_SIP_Trouble_Ticket > HTTP/1.0 > > User-Agent: BEA WLW 8.1 > > Content-Type: text/xml; charset=UTF-8 > > SOAPAction: "urn:VOIP_SIP_Trouble_Ticket10/OpGet" > > Accept: application/soap+xml, text/xml, application/xml, */* > > Host: mcldevmidt01.us.primus > > Connection: Keep-Alive > > Content-Length: 900 > > > > <SOAP-ENV:Envelope > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> > <soapenv:Header > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><urn:AuthenticationInfo > xmlns:urn="urn:VOIP_SIP_Trouble_Ticket"><aut:userName > xmlns:aut="AuthenticationInfo">Glen</aut:userName><aut:password > xmlns:aut="AuthenticationInfo">glen</aut:password><aut:locale > xmlns:aut="AuthenticationInfo"/><aut:timeZone > xmlns:aut="AuthenticationInfo"/><aut:authentication > xmlns:aut="AuthenticationInfo"/></urn:AuthenticationInfo></soapenv:Header> > <SOAP-ENV:Body> > <ns:OpGet xmlns:ns="urn:VOIP_SIP_Trouble_Ticket10"><ns:Ticket_Number > xmlns:ns="urn:VOIP_SIP_Trouble_Ticket10">SIP000000000001</ns:Ticket_Number></ns:OpGet></SOAP-ENV:Body> > </SOAP-ENV:Envelope> > > My question is what's wrong with the first request (which fails with a 500 > from the server) compared to the second one which works. > > Thanks for any assistance you might provide. > > G > > > > -- > View this message in context: > http://www.nabble.com/Axis2-client-request-to-IIS-5.0-returns-a-500-error.-tp21236655p21236655.html > Sent from the Axis - User mailing list archive at Nabble.com. > >