Thanks - that worked.  Having got that far, how can a header be added to the
soap msg to include say auth info? 

Tomek Sztelak wrote:
> 
> So just remove checking version hander from server side :)
> 
> On 2/13/07, Phil Gibbs <[EMAIL PROTECTED]> wrote:
>>
>> I've got rid of that error and now I'm having problems with SOAP headers,
>> or
>> lack thereof.  My client invoke call throws an exception 'Missing version
>> header".  I've more or less copied the code from the Books example.  My
>> question is - how is an in or out message added to the messagecontext so
>> that the getOrCreateHeader method can be called on the message.
>>
>> Tomek Sztelak wrote:
>> >
>> > So it looks like you are trying to send data which are not allowed by
>> xml
>> > spec.
>> > Take a look at strings your are trying to send and check if they
>> > contains any strange characters.
>> >
>> > On 2/12/07, Phil Gibbs <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Thanks for the help.  The stack trace says the XFireServlet threw an
>> >> exception
>> >> due to an invalid UTF-8 start byte 0x8b at
>> >> com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory:536)
>> >> By the time I get this error I've introspected the wdl and got the
>> >> operation
>> >> names and this error occurs right at the call to client.invoke.
>> >>
>> >> Tomek Sztelak wrote:
>> >> >
>> >> > There can be many reasons, invalid service url, problem with app
>> >> > deployment or others problems. Check the server logs or intercept
>> >> > incomming message with e.g. https://tcpmon.dev.java.net/
>> >> >
>> >> > On 2/12/07, Phil Gibbs <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >> I have a web service that I'm trying to invoke from an XFire
>> client.
>> >> I
>> >> >> get
>> >> >> the operation name from the wsdl then pass that, together with some
>> >> >> parameters and i get this error:
>> >> >> Unexpected close tag </body>; expects </HR> at [row, col {unknown
>> >> >> source}]:
>> >> >> [15,187]
>> >> >> Obviously this is an html error, but why would i get such an error?
>> >> My
>> >> >> method call looks like this:
>> >> >> Client client = new Client(new URL(wsdl url));
>> >> >> Object [] object = client.invoke("theoperationname", array of
>> >> >> parameters);
>> >> >> The service method should return a simple object array.
>> >> >> Any suggestions...
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/Invoking-a-service-question-tf3215354.html#a8929172
>> >> >> Sent from the XFire - User mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To unsubscribe from this list please visit:
>> >> >>
>> >> >>     http://xircles.codehaus.org/manage_email
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> > -----
>> >> > When one of our products stops working, we'll blame another vendor
>> >> > within 24 hours.
>> >> >
>> >> >
>> ---------------------------------------------------------------------
>> >> > To unsubscribe from this list please visit:
>> >> >
>> >> >     http://xircles.codehaus.org/manage_email
>> >> >
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Invoking-a-service-question-tf3215354.html#a8933467
>> >> Sent from the XFire - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe from this list please visit:
>> >>
>> >>     http://xircles.codehaus.org/manage_email
>> >>
>> >>
>> >
>> >
>> > --
>> > -----
>> > When one of our products stops working, we'll blame another vendor
>> > within 24 hours.
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe from this list please visit:
>> >
>> >     http://xircles.codehaus.org/manage_email
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Invoking-a-service-question-tf3215354.html#a8954243
>> Sent from the XFire - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
> 
> 
> -- 
> -----
> When one of our products stops working, we'll blame another vendor
> within 24 hours.
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Invoking-a-service-question-tf3215354.html#a8969477
Sent from the XFire - User mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email

Reply via email to