I have 2 IS, with the same document publishableDoc
In this you have other document and attribute boolean. Like this :
PublishableDoc
–>doc
----->booleanValue (objec boolean not a string)
this document is use in return of webservice
I generate the WSDL and i use it in the second IS for generate Webservice consummer.
But the generating doc publishableDoc is like this :
PublishableDoc
–>doc
----->booleanValue (string with content type boolean)
But when i call Webservice with my first doc i have this error :
Type mismatch, String expected
first IS
Doc is :
PublishableDoc
–>doc
----->booleanValue (objec boolean not a string) wrapper boolean
And flow service use in a webservice provider return this doc.
With this Webservices i generate WSDL.
Second IS
I use WSLD of my first is for generate Webservice consummer
And he generate this doc (DOC A)
PublishableDoc
–>doc
----->booleanValue (string with content type boolean)
And in this IS i have also :
the document of first IS (DOC B)
PublishableDoc
–>doc
----->booleanValue (objec boolean not a string) wrapper boolean
On the second IS when i map DOC A in DOC B and i call webservice i have this error : Type mismatch, String expected
In the web service provider you’ll need/want to convert the Boolean object to a string (with content type boolean) before returning it to the caller. Passing objects around via web services is not a good practice. In other words, don’t use the publishable doc type as the message format of the web service. Define a message that uses strings (with type contraints as desired) instead.