| Michael 2005-02-03, 2:47 am |
| I have an orchestration with a request/response port exposed as a web
service. The request and response are two different schema. i.e. one
reply.xsd and one response.xsd.
Both schema have NO namespace and share the same root node name, "msg".
Problem is when I expose this the wsdl generated idicates there is only one
type and that is the request type with a typename of "msg". i.e. call the
web service from an orchestration, resolve the web port response type, its
the request type.
The web service wizard appears to make the assumption that because theres no
target namespace and the root node name is identical for both the request and
response then make the response type the request type.
I know BizTalk applies this rule for message subscription, but there are
work arounds for duplicate root node name/no namespace schema situations.
Has anyone found a work around for this web services wizard situation?
I can expose the request and reponse as XmlDocument and then cast the
messages going to and coming back from the web service. But is using the
XmlDocument type inefficent in any way? i.e. eats a lot of memory.
|