Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Biztalk
acce.forsuppliers
acce.hipaa
acce.hl7
acce.rosettanet
accelerator.finserv
admin
appintegration
framework
general
library
nonxml
orchestration
sdk
server
setup
tools
xlangs
xsharp
  
 
date: Fri, 25 Jul 2008 11:34:34 -0700,    group: microsoft.public.biztalk.server        back       


Dynamic SOAP Adapter   
I have a dynamic Web Port PORTS configured in my orchestration.

I have made the following settings

mWebMessage.processXML = vTempString; 
mWebMessage.returnInfo = 1;

mWebMessage(SOAP.AuthenticationScheme) = "Basic";
PortS(Microsoft.XLANGs.BaseTypes.Address) = "http://localURL.asmx";

I get the following error 
Error details: ArgumentNullException: String reference not set to an 
instance of a String.
Parameter name: s

My Web port takes only 2 parameters(processXML and returnInfo) which are set 
as shown above.

Does anyone have any idea what is going wrong?

Another question is the URL is authenticated with BTSHostService user. 

If I set the desired username and password as below, it get the 401 
Unauthorised error.
mWebMessage(SOAP.Password)="Password";
mWebMessage(SOAP.Username)="username@domain.com";

Thanks for your help.

SushN
date: Fri, 25 Jul 2008 11:34:34 -0700   author:   SushN

Re: Dynamic SOAP Adapter   
Make sure the virtual directory/Website (where your asmx file is residing) 
in IIS got anonymous access turned on. Best thing to do is make sure you can 
access the url in a web brower first.

-- 
Regards,
Saravana Kumar [MVP - BizTalk Server]
http://www.biztalk247.com/v1/
http://www.digitaldeposit.net/blog



"SushN"  wrote in message 
news:48DAA956-676D-4892-AC6A-0D43637EC8DB@microsoft.com...
>I have a dynamic Web Port PORTS configured in my orchestration.
>
> I have made the following settings
>
> mWebMessage.processXML = vTempString;
> mWebMessage.returnInfo = 1;
>
> mWebMessage(SOAP.AuthenticationScheme) = "Basic";
> PortS(Microsoft.XLANGs.BaseTypes.Address) = "http://localURL.asmx";
>
> I get the following error
> Error details: ArgumentNullException: String reference not set to an
> instance of a String.
> Parameter name: s
>
> My Web port takes only 2 parameters(processXML and returnInfo) which are 
> set
> as shown above.
>
> Does anyone have any idea what is going wrong?
>
> Another question is the URL is authenticated with BTSHostService user.
>
> If I set the desired username and password as below, it get the 401
> Unauthorised error.
> mWebMessage(SOAP.Password)="Password";
> mWebMessage(SOAP.Username)="username@domain.com";
>
> Thanks for your help.
>
> SushN
>
>
>
date: Fri, 8 Aug 2008 07:54:50 +0100   author:   Saravana Kumar [MVP]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us