Hello
Thank you for your reply.
No errors appends while deploying my webservice and I can access to is WSDL
with no problem using IE.
Since I am using the SAAJ jar files which were delivered with the jwsdp-1.3,
I'm gonna try to get the JWSDP 1.5 or 1.6 version to see if the version is
the SAAJ 1.2 and if the error persists.
Thanks
Best regards
On 1/31/08, V B Kumar Jayanti <Vbkumar.Jayanti_at_sun.com> wrote:
>
> Paulo Carvalho wrote:
>
> > Hello
> >
> > I am having a stange problem using SAAJ 1.2 (which I had installing
> > jwsdp-1.3 because I can't find anywhere any release of SAAJ 1.2).
> >
> > Here is the problem. I have a client which sends a SOAP message with
> > an attachment to a WebService.
> >
> > 1 - When my client project and my webservice project have the
> > saaj-api.jar and saaj-impl.jar files of SAAJ 1.3 release, everything
> > works fine.
> >
> > 2 - When my client project have the saaj-api.jar and saaj-impl.jar
> > files of SAAJ 1.2 release and my webservice project have the
> > saaj-api.jar and saaj-impl.jar files of SAAJ 1.3 release, everything
> > works fine
> >
> > 3 - When my client project and my webservice project have the
> > saaj-api.jar and saaj-impl.jar files of SAAJ 1.2 release, the
> > following error occurs:
> >
> >
> > 31-Jan-2008 10:41:56
> > com.sun.xml.messaging.saaj.soap.MessageImpl identifyContentType
> > SEVERE: SAAJ0537: Invalid Content-Type. Could be an error message
> > instead of a SOAP message
> > com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid
> > Content-Type:text/html. Is this an error message instead of a SOAP
> > response?
> > at
> > com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(
> MessageImpl.java:258)
> > at
> > com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:127)
> > at
> > com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl
> .<init>(Message1_1Impl.java:43)
> > ...
> >
>
> This kind of an error generally means there was a problem in deploying
> your webService or that your WebService was not initialized properly can
> you check your server logs. Are you able to access the WSDL of the
> service using a Browser.
>
> A lot of bugs which were in SAAJ 1.2 have been fixed in SAAJ 1.3 so it
> may be that you are hitting some bug when using SAAJ 1.2.
>
> The latest SAAJ 1.2 will be in JWSDP 1.5 or 1.6 i believe.
>
> regards,
> kumar
>
> >
> > 3.1 - To be more specific (I found that trying to figure out
> > what was the problem), when my client project have the saaj-api.jar
> > and saaj-impl.jar files of SAAJ 1.2 and my webservice project have the
> > saaj-api.jar of SAAJ 1.3 release and have the saaj-impl.jar file from
> > SAAJ 1.2 release, everything works fine!
> >
> >
> > Any help about this strange problem is very welcome!
> >
> > Regards
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_saaj.dev.java.net
> For additional commands, e-mail: users-help_at_saaj.dev.java.net
>
>