Hi,

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.

Is the omitted 'binding' and 'endpoint' portions of the wsdl2java produced
wsdl
normal behavior?


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>



-- 
Leon S. Searl, Software Research Engineer
Information and Telecommunication Technology Center, University of Kansas
Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
Ph: 785-864-7820     Fax: 785-864-0387
http://www.ittc.ku.edu
<wsdl2:description xmlns:wsdl2="http://www.w3.org/ns/wsdl"; 
xmlns:tns="http://ittc.ku.edu/acesoa/service/ACE_UDDIMaintain/"; 
xmlns:wsoap="http://www.w3.org/ns/wsdl/soap"; 
xmlns:wrpc="http://www.w3.org/ns/wsdl/rpc"; 
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; 
xmlns:wsdlx="http://www.w3.org/ns/wsdl-extensions"; 
xmlns:ns="http://ittc.ku.edu/acesoa/service/ACE_UDDIMaintain/xsd"; 
xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
xmlns:whttp="http://www.w3.org/ns/wsdl/http"; 
targetNamespace="http://ittc.ku.edu/acesoa/service/ACE_UDDIMaintain/";><wsdl2:documentation>ACE_UDDIMaintain</wsdl2:documentation><wsdl2:types><xs:schema
 attributeFormDefault="qualified" elementFormDefault="qualified" 
targetNamespace="http://ittc.ku.edu/acesoa/service/ACE_UDDIMaintain/xsd";>
<xs:element name="response">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="EPRsRemoved" 
type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema></wsdl2:types><wsdl2:interface 
name="ACE_UDDIMaintainPortType"><wsdl2:operation name="clear" 
pattern="http://www.w3.org/ns/wsdl/in-out"; wsdlx:safe="false"><wsdl2:input 
element="#none" wsaw:Action="urn:clear" /><wsdl2:output element="ns:response" 
wsaw:Action="urn:clearResponse" /></wsdl2:operation><wsdl2:operation 
name="update" pattern="http://www.w3.org/ns/wsdl/in-out"; 
wsdlx:safe="false"><wsdl2:input element="#none" wsaw:Action="urn:update" 
/><wsdl2:output element="ns:response" wsaw:Action="urn:updateResponse" 
/></wsdl2:operation></wsdl2:interface><wsdl2:service name="ACE_UDDIMaintain" 
interface="tns:ACE_UDDIMaintainPortType" /></wsdl2:description>
<?xml version="1.0" encoding="UTF-8"?>
<!-- This file was auto-generated from WSDL -->
<!-- by the Apache Axis2 version: 1.4  Built on : Jul 10, 2008 (10:55:24 CDT) -->
<serviceGroup>
    <service name="ACE_UDDIMaintain" class="edu.ku.ittc.tssn.service.ace_uddimaintain.ACE_UDDIMaintainLifeCycle" scope="soapsession">
    
   	<!--  Parameters specific to the service -->
	<parameter name="uddi.serverURL">http://localhost:8080/uddi/services</parameter>
	<parameter name="uddi.publish.user">acesoa</parameter>
	<parameter name="uddi.publish.password">acesoa</parameter>
	<parameter name="uddi.business">ITTC</parameter>
        <messageReceivers>
            <messageReceiver mep="http://www.w3.org/ns/wsdl/in-out"; class="edu.ku.ittc.acesoa.service.ace_uddimaintain.ACE_UDDIMaintainMessageReceiverInOut"/>
        </messageReceivers>
        <parameter name="ServiceClass">edu.ku.ittc.acesoa.service.ace_uddimaintain.ACE_UDDIMaintain</parameter>
        <parameter name="useOriginalwsdl">true</parameter>
        <parameter name="modifyUserWSDLPortAddress">true</parameter>
        <operation name="clear" mep="http://www.w3.org/ns/wsdl/in-out"; namespace="http://ittc.ku.edu/acesoa/service/ACE_UDDIMaintain/";>
            <actionMapping>urn:clear</actionMapping>
            <outputActionMapping>urn:clearResponse</outputActionMapping>
        </operation>
        <operation name="update" mep="http://www.w3.org/ns/wsdl/in-out"; namespace="http://ittc.ku.edu/acesoa/service/ACE_UDDIMaintain/";>
            <actionMapping>urn:update</actionMapping>
            <outputActionMapping>urn:updateResponse</outputActionMapping>
        </operation>
    </service>
</serviceGroup>
ACE_UDDIMaintain
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to