|
Home > Archive > BizTalk Server > February 2005 > BizTalk: add web service reference but no xsd schema created, help!
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
BizTalk: add web service reference but no xsd schema created, help!
|
|
|
| Hello,
Thanks for the help.
I have an orchestration which has a reference to a "hello world" web service
for a connectivity check. Inside the reference in the solution explorer:
[project] > Web references > {web reference name} > Reference.map > .... !
no XSD schema !
Why has no schema been generated? Can this be configured?
If it cant, how can I transform this message so it can consume the web
service. I keep hitting the wall when I try to get a message inside the
web service. I start with a flat xml file and want to send that to the web
service but I cant transform it to the schema targeted for that web service
send to port
Can someone help?
This thread had the same problem with a few suggestions but an answer never
came....
http://groups-beta.google.com/group...%26
sa%3D
N%26tab%3Dwg%26&_doneTitle=Back+to+Search&&d#db0ea2285d718fd6
| |
| Matt Milner 2005-02-24, 2:47 am |
| Your hello world service does not have a complex type for a parameter so you
do not get a schema. If you want to call the web service with simple types,
use the construct message shape with the message assignment shape. In the
message assignment shape, you can set the simple type parameters using dot
notation.
mywebservicemessage.hellostring = "my hello message";
Matt
"BA" <biztalk.architect@gmail.com> wrote in message
news:1109192413. 70314d7fb6a26901a2ed9568939c9149@teranew
s...
> Hello,
>
> Thanks for the help.
>
> I have an orchestration which has a reference to a "hello world" web
> service for a connectivity check. Inside the reference in the solution
> explorer:
>
> [project] > Web references > {web reference name} > Reference.map > .... !
> no XSD schema !
>
>
> Why has no schema been generated? Can this be configured?
>
>
> If it cant, how can I transform this message so it can consume the web
> service. I keep hitting the wall when I try to get a message inside the
> web service. I start with a flat xml file and want to send that to the
> web service but I cant transform it to the schema targeted for that web
> service send to port
>
> Can someone help?
>
> This thread had the same problem with a few suggestions but an answer
> never came....
>
> http://groups-beta.google.com/group...3D%26
sa%
3DN%26tab%3Dwg%26&_doneTitle=Back+to+Search&&d#db0ea2285d718fd6
>
>
>
>
>
| |
|
|
Matt, thanks for steering me in the correct direction.
I had 2 places which I had to do this, your suggestion was correct for the
first.
I simply promoted a property from the incoming xml document which served as
the string message to be passed to the web service
SimpleTypeWebService.stringMessage = original.promotedField;
My second problem was to create a new xml document using the string response
from the webserver:
To solve this I created a variable in the "orchestration view" set it = to a
new xml document.
From there I did and XML.LOAD("<xml data here"> ) to create the structure of
the document and then grabbed the response from the webservice and populated
it from there.
Thanks for the help.
"Matt Milner" <matt.milner@m3technologypartners dot com> wrote in message
news:erX0H4hGFHA.2384@TK2MSFTNGP10.phx.gbl...
> Your hello world service does not have a complex type for a parameter so
> you do not get a schema. If you want to call the web service with simple
> types, use the construct message shape with the message assignment shape.
> In the message assignment shape, you can set the simple type parameters
> using dot notation.
>
> mywebservicemessage.hellostring = "my hello message";
>
> Matt
>
>
> "BA" <biztalk.architect@gmail.com> wrote in message
> news:1109192413. 70314d7fb6a26901a2ed9568939c9149@teranew
s...
%3DN%26tab%3Dwg%26&_doneTitle=Back+to+Search&&d#db0ea2285d718fd6[vbcol=seagreen]
>
>
|
|
|
|
|