  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - webParameter is null | - webParameter is null 2007-07-16 - By florian79
Back The call to the webservice works fine but the parameter are null (or 0 in case of int).
I use a AJAX- Client and send directly the xml.
the Bean:
| @(protected)( | endpointInterface="com.dooris.ws.TheServicePortType", | targetNamespace="http://www.tai.it/TheService", | serviceName="TheService", | portName="TheServiceSOAP" | ) | @(protected) | public class TheServiceImpl implements TheServiceSessionBean | { | public final String getHalloWorld() | { | return "Hallo Welt "; | } | | public final String sayHallo(int iNameGot) | { | return "Hallo " + iNameGot; | } | } |
the call (xml):
| <?xml version='1.0' encoding='utf-8 (See http://utf-8.ora-code.com)'?><soap:Envelope xmlns:soap='http:/ /schemas.xmlsoap.org/soap/envelope/'><soap:Body><sayHallo xmlns='http://www.tai .it/TheService'><arg0>5567</arg0></sayHallo></soap:Body></soap:Envelope>
and the response (xml) Status:200 | RESULT:<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'> <env:Header></env:Header><env:Body><ns2:sayHalloResponse xmlns:ns2="http://www .tai.it/TheService"><return>Hallo 0</return></ns2:sayHalloResponse></env:Body>< /env:Envelope>
where is my mistake?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4064528#4064528
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4064528 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |