Web service schema (Full Version)

All Forums >> [Ask XML questions here] >> BizTalkers



Message


Siva -> Web service schema (2 March 2008)

Hi,
I am trying to send request and receive response from web service. I have added webservice referance to my project. I have created message with web service request type. Now I want to map the quest schema with source schema. How come I dont see web-request message in the Transform schema selection tab?
Do I have to do any message construct or anything to web-request message before I it? If I need to do, how? \
I tried cuple of ways..no luck, still i couldn't see that web-request message.

Siva




JohnD -> RE: Web service schema (3 March 2008)

Siva,

in the place where you search for a target schema to map, you need to select a different route to find the web service generated schemas. They have awful generated names usually.

I don't have BizTalk available right now so I can't tell you the exact way to get there, but there should be an alternative when you start selecting the output schema.

John D.




Siva -> RE: Web service schema (3 March 2008)

Thank you John,
Still I couldnt get the schema of web service request. I tried to assign value to it in the message assignment. However i am geting "use of unconstructed message msgRequest" error.
Siva




JohnD -> RE: Web service schema (4 March 2008)

Siva,

to assign a value to an element of the schema, you need to create a message instance of the schema. For example, when you perform a map transformation you have to supply an incoming message instance, and an outgoing message. Once you have the instance you can then use an expresison shape to assign a value to the element you want - either by using an xpath expression or by promoting an lement of the message.

Basically, your error is telling you you need to construct a message instance before you can assign something to it. You can do this, for example by using a map, or by a construct message shape.

John D.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.125