473,320 Members | 1,993 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Server was unable to process request. --> Object reference not set to an instance of an object. error

Hi all

I've got a java microEdition client trying to make soap requests to my .Net
service. i keep getting "Server was unable to process request..." err msg
when attempting to make the request. The method runs fine from a web
browser, so i suspect the problem is with the java app. i added a simple
"Hello World" method to the service for testing purposes and the java client
calls and receives the service fine. the problem appears to be with methods
that require passing parameters, which appear to be coming through as null.
these are the soap header's I'm sending:

<v:Envelope xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
xmlns:d="http://www.w3.org/2001/XMLSchema"
xmlns:c="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:v="http://schemas.xmlsoap.org/soap/envelope/"><v:Header
/><v:Body><n0:syncRecords id="o0" c:root="1"
xmlns:n0="http://services.biscanada.com/service1.asmx?op=getMyTimeSheet"><sU
serName i:type="d:string">jane</sUserName><sPassword
i:type="d:string">doe</sPassword><selectedDate
i:type="d:string">9/12/2005</selectedDate></n0:syncRecords></v:Body></v:Enve
lope>

and this is the response:

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<soap:Fault>

<faultcode>soap:Server</faultcode>

<faultstring>Server was unable to process request. --&gt; Object
reference not set to an instance of an object.</faultstring>

<detail />

</soap:Fault>

</soap:Body>

</soap:Envelope>

Any ideas?

tks


Nov 23 '05 #1
0 8019

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: mravichandran | last post by:
Dear Readers, I am trying to take image files and store them in SQL server. as a 1st step, I am trying to read them from a directory on the network. in the declaration section (below the...
6
by: blash | last post by:
Can someone help me? I really don't have a clue. My company staff told me they often got such error: "Object reference not set to an instance of an object." when they are in search result page...
0
by: inpuarg | last post by:
I am trying to insert a row to a specific location to a datagridview at bound mode. For implementing this feature i am adding a new column to grid 's dataview's table. Setting sort index. Then sort...
2
by: jay | last post by:
Believe it or not...I am new to this side of development. I will try to provide a little background on this app...I am calling this from an aspx page. Feeding in the params and basically hoping...
2
by: dotnetnoob | last post by:
i got this program that will fetch the data in the excel spreadsheet, it was working before then i make some adjustment and it now give me an error of "Object reference not set to an instance of an...
4
by: Aby | last post by:
hi all, i need to send a String array from C# to a managed c++ dll function. Managed dll mthd -- void Managed::printNames( String* a_arStrNames) { } C# app calling dll fun --
6
by: kalaivanan | last post by:
hi, i am a beginner in c#. i have theoretical knowledge about object, reference and instance. but i want to know clearly about what is an object, reference and instance. can any one help me? or...
0
by: Fresh_Air_Rider | last post by:
Hi I have two pages which both use the same master page. Page one contains an asp:textbox control and an asp:button control with it's PostBackUrl property set to the second page. The "code...
0
by: Fresh_Air_Rider | last post by:
Hi I have two pages which both use the same master page. Page one contains an asp:textbox control and an asp:button control with it's PostBackUrl property set to the second page. The "code...
8
by: Bharathi Harshavardhan | last post by:
Hi, I have an application in which I have used Application.DoEvents() method in the click event of a NumericUpDown. This particular method is throwing "Object reference not set to an instance of...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.