Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > MS WebService called by Java app

Reply
Thread Tools

MS WebService called by Java app

 
 
Carlton858
Guest
Posts: n/a
 
      05-07-2004
I built a webservice in C# that is called by a Java application. The
problem I am encountering is the Java app seems to send my webservice
NULL values, which is not what the application thinks it is sending.
The reason I know Java app is sending my web service NULL values is
because my web service sends back a NULL value message to the Java
app. Does anyone know a reason why this might be or do you need to
see the WSDL's?

I think something is wrong with the SOAP message the Java app is
sending to the MS web service, but I do not know how to fix it or
debug it. I have read about netmon.exe, but cannot seem to find it.
Anyone know of a location?

Carlton
 
Reply With Quote
 
 
 
 
casey chesnut
Guest
Posts: n/a
 
      05-07-2004
ASP.NET is actually pretty forgiving, and accepts most WS calls.
you might set a breakpoint at the 1st line of the WebMethod,
and then attach to the ASP.NET process.
then call it with the Java Client.
if there is a problem with the request that was sent,
then you wont hit the breakpoint, and you will want to see the trace.
if you hit the breakpoint, your golden, and just see where it throws.

for tracing messages you can:
-use the SOAP Toolkit Trace Tool.
-use the SoapExtension example in MSDN called TraceExtension to write the
request and response to a file
-use one of the tools from www.pocketsoap.com
-others ...

casey
http://www.brains-N-brawn.com


"Carlton858" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
>I built a webservice in C# that is called by a Java application. The
> problem I am encountering is the Java app seems to send my webservice
> NULL values, which is not what the application thinks it is sending.
> The reason I know Java app is sending my web service NULL values is
> because my web service sends back a NULL value message to the Java
> app. Does anyone know a reason why this might be or do you need to
> see the WSDL's?
>
> I think something is wrong with the SOAP message the Java app is
> sending to the MS web service, but I do not know how to fix it or
> debug it. I have read about netmon.exe, but cannot seem to find it.
> Anyone know of a location?
>
> Carlton



 
Reply With Quote
 
 
 
 
Carlton858
Guest
Posts: n/a
 
      05-11-2004
>
> -use the SoapExtension example in MSDN called TraceExtension to write the
> request and response to a file
>

How? I can find the class on MSDN and compile it, but any examples on
how to use it? From the way I have implemented the webservice, I do
not understand how to make this work.

Carlton
 
Reply With Quote
 
casey chesnut
Guest
Posts: n/a
 
      05-11-2004
http://msdn.microsoft.com/library/de...classtopic.asp
Thanks,
casey
http://www.brains-N-brawn.com

"Carlton858" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) m...
> >
>> -use the SoapExtension example in MSDN called TraceExtension to write the
>> request and response to a file
>>

> How? I can find the class on MSDN and compile it, but any examples on
> how to use it? From the way I have implemented the webservice, I do
> not understand how to make this work.
>
> Carlton



 
Reply With Quote
 
Dino Chiesa [Microsoft]
Guest
Posts: n/a
 
      05-13-2004
Carlton - What Java webservices stack are you using?

(ps: hey casey)

-Dino

"casey chesnut" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>

http://msdn.microsoft.com/library/de...classtopic.asp
> Thanks,
> casey
> http://www.brains-N-brawn.com
>
> "Carlton858" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) m...
> > >
> >> -use the SoapExtension example in MSDN called TraceExtension to write

the
> >> request and response to a file
> >>

> > How? I can find the class on MSDN and compile it, but any examples on
> > how to use it? From the way I have implemented the webservice, I do
> > not understand how to make this work.
> >
> > Carlton

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is called carry chain structure in FPGA is called in IC? Weng Tianxiang VHDL 6 09-12-2007 07:19 AM
How do I launch a new Java app from a running Java app? steve.albin@gmail.com Java 3 01-03-2007 04:59 PM
WebService called by automation dll times out when being called from Navision Felix ASP .Net Web Services 1 09-29-2006 01:43 PM
three times copy ctor called, one ctor called, why? Apricot C++ 4 04-16-2004 07:55 AM
WebService on Java server versus WebService on .NET Mr. x Java 2 10-09-2003 11:21 PM



Advertisments