|
Home > Archive > BizTalk Server Orchestration > June 2006 > webservice
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]
|
|
|
| Where should i set the credentials, in the sendport in the administration
console or as properties in a message assingment, i just cant get biztalk to
work.
i have made at small console program, and it reads the webservice fine.
does anyone have any input
i add the webreference and everything looks fine until i run the solution
and this message ends up in the eventlog. I have tried both "Digest" and
"basic" configuration.
Event Type: Warning
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5743
Date: 19-06-2006
Time: 14:13:00
User: N/A
Computer: MMOBT2006
Description:
The adapter failed to transmit message going to send port
"PartnerLink.Hub.StoreInformation.V1_1.0.0.0_PartnerLink.Hub.StoreInformation.V1. StoreInformationMain_Port_1_fae63c33c96e
a278"
with URL
"http://storemanager.bestcorp.net:3000/webservice/SystemService.asmx". It
will be retransmitted after the retry interval specified for this Send Port.
Details:"WebException: The request failed with HTTP status 401:
Unauthorized.
".
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
| |
|
| Another question
i want the webservice to run once a day. what can activate an
orchestration? it does not make any sense to recieve a message...
"mm" <mmoos@hotmail.com> wrote in message
news:Oxg99Y6kGHA.4200@TK2MSFTNGP05.phx.gbl...
> Where should i set the credentials, in the sendport in the administration
> console or as properties in a message assingment, i just cant get biztalk
> to work.
> i have made at small console program, and it reads the webservice fine.
> does anyone have any input
>
> i add the webreference and everything looks fine until i run the solution
> and this message ends up in the eventlog. I have tried both "Digest" and
> "basic" configuration.
>
>
>
> Event Type: Warning
> Event Source: BizTalk Server 2006
> Event Category: BizTalk Server 2006
> Event ID: 5743
> Date: 19-06-2006
> Time: 14:13:00
> User: N/A
> Computer: MMOBT2006
> Description:
> The adapter failed to transmit message going to send port
> "PartnerLink.Hub.StoreInformation.V1_1.0.0.0_PartnerLink.Hub.StoreInformation.V1. StoreInformationMain_Port_1_fae63c33c96e
a278"
> with URL
> "http://storemanager.bestcorp.net:3000/webservice/SystemService.asmx". It
> will be retransmitted after the retry interval specified for this Send
> Port. Details:"WebException: The request failed with HTTP status 401:
> Unauthorized.
> ".
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp.
>
>
>
| |
| Greg Forsythe 2006-06-19, 7:18 pm |
| An orchestration can only be activated by receiving a message or being
called from another orchestration.
Try this adapter, it should do what you want.
http://www.gotdotnet.com/Community/...C9-84BF4E783728
Greg
"mm" <mmoos@hotmail.com> wrote in message
news:Otdof79kGHA.4104@TK2MSFTNGP04.phx.gbl...
> Another question
>
> i want the webservice to run once a day. what can activate an
> orchestration? it does not make any sense to recieve a message...
>
>
>
> "mm" <mmoos@hotmail.com> wrote in message
> news:Oxg99Y6kGHA.4200@TK2MSFTNGP05.phx.gbl...
>
>
| |
|
| thanks for answer!
another quick question:
i now have the result back from the web service. How can i use it in my map,
when i try to use response message as source document in my map, it says
something like variable names and messagetypes does not match.
mm
"Greg Forsythe" <greg.forsythe@gmail.com> wrote in message
news:esaS9u%23kGHA.1260@TK2MSFTNGP05.phx.gbl...
> An orchestration can only be activated by receiving a message or being
> called from another orchestration.
> Try this adapter, it should do what you want.
> http://www.gotdotnet.com/Community/...C9-84BF4E783728
>
> Greg
>
> "mm" <mmoos@hotmail.com> wrote in message
> news:Otdof79kGHA.4104@TK2MSFTNGP04.phx.gbl...
>
>
| |
| Greg Forsythe 2006-06-20, 7:20 am |
| Depends on the type of the response message from the web service.
Is the response a complex type (object) or is it a simple type (string, int)
Do you have the method signature of the web service
e.g. public string CallWebMethod(object message);
If it is a simple type then no schema is created and you cannot use this
message in a map.
You can access the simple type value using dot notation:
variable = webserviceresponsemessage.result;
Greg
"mm" <mmoos@hotmail.com> wrote in message
news:u72MBCElGHA.2304@TK2MSFTNGP02.phx.gbl...
> thanks for answer!
>
> another quick question:
> i now have the result back from the web service. How can i use it in my
> map, when i try to use response message as source document in my map, it
> says something like variable names and messagetypes does not match.
>
> mm
>
>
>
>
>
>
> "Greg Forsythe" <greg.forsythe@gmail.com> wrote in message
> news:esaS9u%23kGHA.1260@TK2MSFTNGP05.phx.gbl...
>
>
| |
| Stephen W. Thomas 2006-06-21, 1:23 am |
| Have you checked your settings on IIS? You need to make sure the user
running the host of the Send Adapter has access to IIS.
Hope this helps.
Stephen W. Thomas
http://www.biztalkgurus.com
http://www.geekswithblogs.net/sthomas/
"mm" wrote:
> Where should i set the credentials, in the sendport in the administration
> console or as properties in a message assingment, i just cant get biztalk to
> work.
> i have made at small console program, and it reads the webservice fine.
> does anyone have any input
>
> i add the webreference and everything looks fine until i run the solution
> and this message ends up in the eventlog. I have tried both "Digest" and
> "basic" configuration.
>
>
>
> Event Type: Warning
> Event Source: BizTalk Server 2006
> Event Category: BizTalk Server 2006
> Event ID: 5743
> Date: 19-06-2006
> Time: 14:13:00
> User: N/A
> Computer: MMOBT2006
> Description:
> The adapter failed to transmit message going to send port
> "PartnerLink.Hub.StoreInformation.V1_1.0.0.0_PartnerLink.Hub.StoreInformation.V1. StoreInformationMain_Port_1_fae63c33c96e
a278"
> with URL
> "http://storemanager.bestcorp.net:3000/webservice/SystemService.asmx". It
> will be retransmitted after the retry interval specified for this Send Port.
> Details:"WebException: The request failed with HTTP status 401:
> Unauthorized.
> ".
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp.
>
>
>
>
| |
|
| Thanks for answer!
Hi greg
It is a complex type, a dataset to be exact. When i add the webservice no
xsd is genrated for me.
However if i output the response from the webservice message direcly to a
file port the result looks like this:
<?xml version="1.0" encoding="utf-8"?>
<DataSet>
<xs:schema id="NewDataSet" xmlns=""
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true"
msdata:Locale="da-DK">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Table1">
<xs:complexType>
<xs:sequence>
<xs:element name="COMPANIES_ID" type="xs:decimal"
minOccurs="0" />
<xs:element name="PARTNERCOMPANYID" type="xs:decimal"
minOccurs="0" />
<xs:element name="STORE_NAME" type="xs:string" minOccurs="0"
/>
<xs:element name="STORE_FRONTS_ID" type="xs:decimal"
minOccurs="0" />
<xs:element name="VAT_NUMBER" type="xs:string" minOccurs="0"
/>
<xs:element name="ADDRESS" type="xs:string" minOccurs="0" />
<xs:element name="POSTAL_CODE" type="xs:string"
minOccurs="0" />
<xs:element name="CITY" type="xs:string" minOccurs="0" />
<xs:element name="COUNTRIES_ID" type="xs:decimal"
minOccurs="0" />
<xs:element name="TELEPHONE" type="xs:string" minOccurs="0"
/>
<xs:element name="FAX" type="xs:string" minOccurs="0" />
<xs:element name="COMPANY_REG_NUMBER" type="xs:string"
minOccurs="0" />
<xs:element name="NCR_BOS_VERSION" type="xs:string"
minOccurs="0" />
<xs:element name="SHOP_ITSYSTEMS_ID" type="xs:decimal"
minOccurs="0" />
<xs:element name="IP_ADDRESS" type="xs:string" minOccurs="0"
/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
<NewDataSet>
<Table1 diffgr:id="Table11" msdata:rowOrder="0">
<COMPANIES_ID>15185391</COMPANIES_ID>
<PARTNERCOMPANYID>11363913</PARTNERCOMPANYID>
<STORE_NAME>Haarderwijk</STORE_NAME>
<STORE_FRONTS_ID>55</STORE_FRONTS_ID>
<ADDRESS>Donkerstraat 57-59</ADDRESS>
<CITY>Haarderwijk</CITY>
<COUNTRIES_ID>3</COUNTRIES_ID>
<COMPANY_REG_NUMBER>6266</COMPANY_REG_NUMBER>
<SHOP_ITSYSTEMS_ID>1</SHOP_ITSYSTEMS_ID>
</Table1>
<Table1 diffgr:id="Table12" msdata:rowOrder="1">
<COMPANIES_ID>15966308</COMPANIES_ID>
<PARTNERCOMPANYID>199327</PARTNERCOMPANYID>
<STORE_NAME>Lelystad</STORE_NAME>
<STORE_FRONTS_ID>58</STORE_FRONTS_ID>
<ADDRESS>De Wissel 11</ADDRESS>
<POSTAL_CODE>8232 DM</POSTAL_CODE>
<CITY>Lelystad</CITY>
<COUNTRIES_ID>3</COUNTRIES_ID>
<COMPANY_REG_NUMBER>88149</COMPANY_REG_NUMBER>
<SHOP_ITSYSTEMS_ID>1</SHOP_ITSYSTEMS_ID>
</Table1>
<Table1 diffgr:id="Table13" msdata:rowOrder="2">
<COMPANIES_ID>220507</COMPANIES_ID>
<PARTNERCOMPANYID>221147</PARTNERCOMPANYID>
The whole messagesize is about 1 mb.
ps. And i cant generate a schema with the inbuilt schema generator whith the
xml i get out.
"Greg Forsythe" <greg.forsythe@gmail.com> wrote in message
news:uysPfOFlGHA.1244@TK2MSFTNGP05.phx.gbl...
> Depends on the type of the response message from the web service.
> Is the response a complex type (object) or is it a simple type (string,
> int)
> Do you have the method signature of the web service
> e.g. public string CallWebMethod(object message);
>
> If it is a simple type then no schema is created and you cannot use this
> message in a map.
> You can access the simple type value using dot notation:
> variable = webserviceresponsemessage.result;
>
> Greg
>
> "mm" <mmoos@hotmail.com> wrote in message
> news:u72MBCElGHA.2304@TK2MSFTNGP02.phx.gbl...
>
>
| |
|
| Thanks for the answer!
When i selected the last option, NTLM. it worked just fine.
But maybe i will have to create the user, in the production enviroment so
thank you for the input.
(Exept the trouble that i cant use the data i am getting out, see other
thread)
"Stephen W. Thomas" <StephenWThomas@discussions.microsoft.com> wrote in
message news:FD8B6538-C5DE-4FDD-8146-6ABAD99362B6@microsoft.com...[vbcol=seagreen]
> Have you checked your settings on IIS? You need to make sure the user
> running the host of the Send Adapter has access to IIS.
>
> Hope this helps.
>
> Stephen W. Thomas
> http://www.biztalkgurus.com
> http://www.geekswithblogs.net/sthomas/
>
>
> "mm" wrote:
>
|
|
|
|
|