Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis service always reads "(MEMO)" from arguments

 
Sam Gardner
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is my .jws file; it occurs to me that something might have to be done to get it to work correctly.

 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Sam Gardner
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic