473,770 Members | 2,104 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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:sy ncRecords id="o0" c:root="1"
xmlns:n0="http://services.biscan ada.com/service1.asmx?o p=getMyTimeShee t"><sU
serName i:type="d:strin g">jane</sUserName><sPas sword
i:type="d:strin g">doe</sPassword><sele ctedDate
i:type="d:strin g">9/12/2005</selectedDate></n0:syncRecords> </v:Body></v:Enve
lope>

and this is the response:

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

<soap:Envelop e xmlns:soap="htt p://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>Se rver 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 8052

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

Similar topics

1
2487
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 class declaration) I have: protected System.Web.UI.HtmlControls.HtmlInputFile ImageFile; inside the function button_click: I have
6
6126
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 then tried to access 2nd, or 3rd, etc page. The problem is it happens sometimes - sometimes when they clicked refresh button, then everything is ok. Now they told me it happens more frequently. but I have tried by myself many times and never got...
0
2108
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 by using that new column. Then remove that new column. It seems working fine. I run following code for the first time without error. But if i run 2'nd time i got Object Reference Not Set to an instance of an object error at line :...
2
1793
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 to go out to the servers specified in the xml files, run the command that I passed in and return the output from the server. I was able to make this work with a single thread and a single server. Now...it is time to beef it up a bit...and...
2
2707
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 object error" i can't seem to see what's wrong with my code so i'm hoping some fresh eyes can spot what's wrong or what i'm missing. the following is the code, this line strFile = CStr(xlSheet.Range("I" + CStr(Row)).Value.ToString + "\" +...
4
1373
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
2221
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 is there any article which can explain it. kalaivanan
0
1361
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 behind" of the receiving page contains the following page which results in "Object reference not set..."
0
1350
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 behind" of the receiving page contains the following page which results in "Object reference not set..."
8
3594
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 an object" error.. Does anyone have any idea about it? Regards, Bharathi
0
9425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10228
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9869
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8883
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5312
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5449
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3970
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3575
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2816
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.