I have a documentliteral webservice that i created following the examples on 
the http://www.jboss.org/wiki/Wiki.jsp?page=WSDOCServiceStepByStep

I was able to install this service on the JBOSS server, but when i invoke it 
using a Jboss web client i get the following error :

ERROR [org.apache.axis.providers.java.RPCInvocation] org.xml.sax.SAXException: 
Invalid eleme
nt in com.xxx.webservice.OA.OAWebSvc_getAccount_RequestStruct - String_1
org.xml.sax.SAXException: Invalid element in 
com.xxx.webservice.OA.OAWebSvc_getAccount_RequestStruct - String_1
        at 
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:407)
        at 
org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1166)
        at 
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:244)


in the wsdl i have the following entries :-

import namespace="http://com.xxx.webservice/OA/types/arrays/java/lang"/
complexType name="getAccount">
sequence>
element name="String_1" type="string" nillable="true"/>
complexType name="getAccountResponse">
sequence>
element name="result" type="tns:accountDetail" nillable="true"/>
complexType name="accountDetail">
sequence>


the class :-

public class OAWebSvc_getAccount_RequestStruct {
    protected java.lang.String String_1;

    public OAWebSvc_getAccount_RequestStruct() {
    }

    public OAWebSvc_getAccount_RequestStruct(java.lang.String String_1) {
        this.String_1 = String_1;
    }

    public java.lang.String getString_1() {
        return String_1;
    }

    public void setString_1(java.lang.String String_1) {
        this.String_1 = String_1;
    }
}


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866958


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to