Hello,
While trying to send the following SOAP message from a .NET client, I get the
following error from my xfire web service.

<?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:Header>
         <Header xmlns="www.abc.com/webservices">
            <Test>false</Test>
            <ServiceVersion>1</ServiceVersion>
            <RequestorId>XYZ</RequestorId>
            <RequestorKey xsi:nil="true" />
            <RequestGUID xsi:nil="true" />           
<RequestSentDateTime>2007-04-21</RequestSentDateTime>
<RequestReceivedDateTime>2007-04-21</RequestReceivedDateTime>
<ResponseSentDateTime>2007-04-21</ResponseSentDateTime>
<ResponseReceivedDateTime>2007-04-21</ResponseReceivedDateTime>
            <Extensions xsi:nil="true" />
            <SessionId>cjhjhref=</SessionId>
         </Header>
      </soap:Header>
      <soap:Body>
         <Authenticate xmlns="www.abc.com/webservices">
            <Data xsi:nil="true" />
         </Authenticate>
      </soap:Body>
   </soap:Envelope>

The response is as follows:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>The namespace associated with the prefix 'xsi' could not
be resolved.</faultstring>
      </soap:Fault>
   </soap:Body></soap:Envelope>

The web service is configured to take a Header as a method parameter:
<method name="Authenticate" operationName="Authenticate">
<parameter index="0" class="Header" header="true" />
<parameter index="1" class="Authenticate" />            
</method>

What do I need to do to get rid of this error or is this a xfire bug?

Thanks
Amit


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to