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
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 > > >