Binding and endpoints missing from wsdl2 generated by wsdl2java
---------------------------------------------------------------

                 Key: AXIS2-3922
                 URL: https://issues.apache.org/jira/browse/AXIS2-3922
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: wsdl
    Affects Versions: 1.4
         Environment: Sun Java 1.5.0_14, Fedora 8, 
            Reporter: Leon S. Searl


I have a service that causes axis2 v1.4 to produce the following message
when axis2
is trying to deploy the service:

2008-07-15 17:09:53,178 [main] INFO
org.apache.axis2.deployment.repository.util.ArchiveReader  - Trouble
processing wsdl file :No endpoints found in the WSDL

This service is created using the wsdl2java utility. The wsdl output
by wsdl2java does not have a 'binding' section and it does not have an
endpoint in the
'service' section. NOTE that I'm using wsdl v2.0.

I've attached the original wsdl2 for the service:
ACE_UDDIMAintain.orig.wsdl2
The wsdl produced by wsdl2java: ACE_UDDIMaintain.wsdl
and the services.xml produced by wsdl2java: services.xml.

The following the portion of the ant build file I use to run
wsdl2java:

           <java  classname="org.apache.axis2.wsdl.WSDL2Java" fork="true"
failonerror="true">
                       <classpath>
                               <fileset dir="${ACESOA_LIBDIR}" 
includes="*.jar"/>
                               <fileset dir="${AXIS2LIBDIR}" includes="*.jar"/>

                       </classpath>
                       <arg line="-o ${CURRDIR}/${SRCTEMPDIR}" />
                       <arg line="-uri 
${CURRDIR}/resources/${ant.project.name}.wsdl2" />
                       <arg line="-d adb" />
                       <arg line="-s" />
                       <arg line="-ss" />
                       <arg line="-ssi" />
                       <arg line="-sd" />
                       <arg line="-g" />
                       <arg line="-wv 2.0" />
               </java>



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to