I've searched and searched for an answer to this, but can't find one anywhere. It seems like it should be really simple, and yet...

I have a web service called zip2citystate. I implemented it in Java, wrote the services.xml file, archived it all into a .aar file and uploaded it to WSAS.

I can call it just fine by doing an HTTP GET at /zip2citystate? param0=80218

from which I get this as a return:

<ns:zip2citystateResponse>
<ns:return>Denver</ns:return>
<ns:return>CO</ns:return>
</ns:zip2citystateResponse>

But I want to be able to do /zip2citystate?zip=80218 (calling the parameter zip instead of param0) and then get something like this:

<ns:zip2citystateResponse>
<ns:city>Denver</ns:city>
<ns:state>CO</ns:state>
</ns:zip2citystateResponse>


How do I make those changes? I'm happy to RTFM, I just can't find the FM! :)

Thanks.

--------------------------------------------------------

Wes Morgan
Internet Organizer
Code for Change Director
Fund for Public Interest Research

[EMAIL PROTECTED]
303-573-5885 ext. 312

1536 Wynkoop St., Ste. 100
Denver, CO 80202


_______________________________________________
Wsas-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-user

Reply via email to