aspose file tools*
The moose likes Web Services and the fly likes Axis service always reads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis service always reads "(MEMO)" from arguments" Watch "Axis service always reads "(MEMO)" from arguments" New topic
Author

Axis service always reads "(MEMO)" from arguments

Sam Gardner
Ranch Hand

Joined: Oct 02, 2007
Posts: 31
Hey everyone-

I am having an issue that is confusing the hell out of me.

I have a fairly simple web service (deployed the easy way via .jws file) that functions perfectly fine when run as a normal java app.

When I have it deployed, I can access it and it seems to run fine, but for some reason my simple test client won't properly pass strings to it.

No matter what string I pass the service as an argument, that argument is always read as "(MEMO)" by the service.

Does anyone have any idea what could be causing this?

I've posted my client code, if anyone wants to see the service code they're welcome to though it seems to be functioning fine with the exception of always reading "(MEMO)" for one of it's arguments.





I really appreciate any help anyone can give me.
Sam Gardner
Ranch Hand

Joined: Oct 02, 2007
Posts: 31
Here is my .jws file; it occurs to me that something might have to be done to get it to work correctly.

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
This:
(MEMO);-89.4337;43.0893

doesn't seem to vibe with this:
String location = id + ";" + busLong + ";" + busLat + ";" + numPoints;

to begin with (different number of semicolons). Are you certain that the code you posted produces the example output?


Ping & DNS - updated with new look and Ping home screen widget
Sam Gardner
Ranch Hand

Joined: Jul 22, 2008
Posts: 48
Sorry about that, I copied and pasted old output after I changed my code to verify that the numPoints argument was being passed correctly.

Now, output is:



no matter what I pass through as arguments.

This makes me think the request isn't being forwarded correctly and that the service is just returning the last valid request that it got, but I have no idea where to start looking for issues.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis service always reads "(MEMO)" from arguments
 
Similar Threads
Error while running client code on axis webservice
Simple Web Service using Axis
Error in client for webservice on websphere 4.0
javax.xml.rpc.JAXRPCException ???????
How to invoke a webservice in .net from servlet application