Orchestration Published as Web Service: Object reference not set to an instance of an
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Orchestration Published as Web Service: Object reference not set to an instance of an




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Orchestration Published as Web Service: Object reference not set to an instance of an  
Ayron


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-06 10:59 PM

I have an orchestration that I've tested with file transports and works
fine. The orchestration itself really does nothing. It receives and
file on an inbound port and sends it to an outbound port using a FILE
transport type.

I then used the BizTalk Web Service Publishing Wizard to create a web
service. I created a web page front end and filled the object criteria
necessary to pass to the web service proxy. This fails at runtime with
an "Object reference" exception on the Me.Invoke() sub that was created
by the web service subscription wizard when I added the web reference
to the web project.

I've looked to see that the object that needs to be passed to the proxy
is getting created properly. I've also got the ASPNET process user in
the "BizTalk Isolated Host Users" group. This exception appears to come
from the internal SoapHTTPClientProtocol class.

Has anyone ever ran across this issue and fixed it (without a hammer)?

Thanks!

-Aaron

---- Exception Information ----

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not
set to an instance of an object.

Source Error:


Line 43: "DataReceivePort/Operation_1",
RequestNamespace:="http://tempuri.org/", OneWay:=true,
Use:=System.Web.Services.Description.SoapBindingUse.Literal,
ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)>
_
Line 44:         Public Sub Operation_1(ByVal part As customerInfo)
Line 45:             Me.Invoke("Operation_1", New Object() {part})
Line 46:         End Sub
Line 47:


Source File: C:\Temp\Testing\Web
References\TestingBTS_Proxy\Reference.vb    Line: 45

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an
object.]

System.Web.Services.Protocols.SoapHeaderHandling.SetHeaderMembers(SoapHeader
Collection
headers, Object target, SoapHeaderMapping[] mappings,
SoapHeaderDirection direction, Boolean client)

System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClient
Message
message, WebResponse response, Stream responseStream, Boolean
asyncCall)
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)

Testing.TestingBTS_Proxy. TestingBTS_NewCustomerEvaluationOrchestr
ation_Publi
cWSCustomerDataReceivePort.Operation_1(customerInfo
part) in C:\Temp\Testing\Web
References\TestingBTS_Proxy\Reference.vb:45
Testing.WebForm1.Page_Load(Object sender, EventArgs e) in
C:\Temp\Testing\WebForm1.aspx.vb:76
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()




----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET Version:1.1.4322.2032






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:42 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register