Groups > Weblogic > WebLogic Webservices > Weblogic clientgen task generates soap11 client for soap12 wsdl




Weblogic clientgen task generates soap11 client for soap12
wsdl

Weblogic clientgen task generates soap11 client for soap12 wsdl
Wed, 28 Nov 2007 12:46:07 -080
I am creating a client using the clientgen task on a wsdl that is based on the
soap1.2 spec.

When the client invokes the service , the client code  throws an exception
complaining that the content type is wrong. The client code is using the content
type text/xml to communicate with the service however the service is expecting
application/soap+xml for communication. 

I realise from the specs that text/xml is used by the soap1.1 spec. Is there any
additional setting on  the client gen task to make it generate a 1.2 client?

The webservice is deployed on weblogic9.2 and the client code is generated 
Post Reply
about | contact