axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xia Zhao (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-1268) Unexpected subelement - problem of correctly invoking services
Date Mon, 02 Oct 2006 08:09:20 GMT
    [ http://issues.apache.org/jira/browse/AXIS2-1268?page=comments#action_12439062 ] 
            
Xia Zhao commented on AXIS2-1268:
---------------------------------

Thanks for your reply, dims.
I provide the way I create my services and attached related files. Hope these helpful.

I followed the normal sequence I used in Axis1.4 to develop the web services:
1. Create java class with several methods needed for services. In my example, these classes
include AnalysisMethod.class (superclass), AnalysisMethod1.class(which extends from AnalysisMethod.class)
and Job.class. (see attached files)
2. Generat wsdl using Java2WSDL tool. 
3. Implement the logic in skeleton class. (see attachement files).
4. Create archive file using service archive creator.
5. Deploy the service.

Thanks a lot.

Xia

> Unexpected subelement - problem of correctly invoking services
> --------------------------------------------------------------
>
>                 Key: AXIS2-1268
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1268
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Task
>    Affects Versions: 1.0
>         Environment: Java and WSDL files are created using code generator Eclipse plugin
under Eclipse 3.1. The archive file is created using service archive generator Eclipse plugin
3.1 as well. Web Server: Tomcat 5.5.17. Operation System: Windows XP professional 
>            Reporter: Xia Zhao
>         Attachments: AnalysisMethod.java, AnalysisMethod1.java, AnalysisMethod1.xml,
Invoking & error.rtf
>
>
> I was working with Axis1.4 before and just started to look at Axis2 as my project requesting
asynchronous web services. I built a simple asynchronous web service then try to build a client
to invoke the service, however, I got the error of Unexpected subelement. Axis2 is deployed
under Tomcat 5.5.17 and WSDL was generated by code generator Eclipse plugin. I would like
to know how to correctly invoke this services. Or maybe there are some errors in the WSDL
file. Please give some hints.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message