For once, i think i have quite a simple problem - the wsdl generates an xml 
node named "return" - i'm consuming the web service in flex, in which "return" 
is a reserved word and so breaks the code - so, any way i can change the name - 

here's the web service (exposed in stateless session bean) code snippet:

public String findAudiorec(@WebParam(name = "Audiorec_alias" String alias) {
  |        Audiorec arrr = manager.find(Audiorec.class, alias);
  |        return arrr.getSerial_audiorec();
  |        }

and sample output:

<?xml version="1.0" encoding="UTF-8"?>
  | <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  |     <soap:Body>
  |         <ns0:findAudiorecResponse xmlns:ns0="http://Audiorec/";>
  |             <return>sample text</return>
  |         </ns0:findAudiorecResponse>
  |     </soap:Body>
  | </soap:Envelope>

using 4.2.1.GA in netbeans

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117948#4117948

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117948
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to