05-09-06 06:13 AM
Greg,
Thanks for the input. Sorry I wasn't monitoring this post.
Where can I look for the class that .Net web service is sending? Could that
be in the WSDL? Or is it a system wide setting? If it is a system wide
setting, then this won't help my cause because I can use another web
service.
Thank you
"Greg Forsythe" <greg.forsythe@gmail.com> wrote in message
news:Ov%23WdxybGHA.3348@TK2MSFTNGP03.phx.gbl...
> Prash,
> I have just struck the same problem.
> The Add Web Reference does not add the necessary schemas to the
> reference.xsd.
>
> In my case it was because the .Net web service was passing a class that
> was declared as [XmlType(Anonymous=true)]
> By changing this to [XmlRoot(Namespace="urn:mynamespace")] the problem
was
> solved.
>
> Greg
>
>
> "Prash" <Prash@msn.com> wrote in message
> news:OsWOoaYaGHA.4780@TK2MSFTNGP02.phx.gbl...
> Actually I did define those types as messages. See the picture below.
>
>
> Here FileInput and FileOutput refer to schema defined using XSD files.
> InitializeOrderWSInput and InitializeOrderWSOutput refer to the web
> service request and response respectively.
>
> In my email I said only explicitly created messages show up. I should have
> said only the messages that refer to a schema file show up. As shown in
> the diagram above, I did create messages pointing to the types.
>
> The transformation configuration dialog box looks like the following. Here
> the drop down doesn't show the messages that refer to web service.
>
>
> Funny part is that another project which refers to a different web
> service, doesn't have this problem.
>
> Thanks.
>
> "Greg Forsythe" <greg.forsythe@gmail.com> wrote in message
> news:OWFNRsTaGHA.4544@TK2MSFTNGP02.phx.gbl...
>
>
[ Post a follow-up to this message ]
|