• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Axis service always reads "(MEMO)" from arguments

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic