On 3/17/07, Maxim Y. Tebenev <[EMAIL PROTECTED]> wrote:

Hi Guys,

Thank you for advises!
Unfortunately it doesn't solve my problem. I've debugged SoapEndpoint.java
and found that ServiceMix cannot determine correct PortType from WSDL
(reader.readWSDL returns not null, but HttpEndpoint::overrideDefinition
returns null). I suggest that something wrong with my WSDL. Could you please
take a look at the WSDL and give an idea what's wrong with that?

Here's my endpoints definition:

       <!-- AddressLocationInfo -->
  <http:endpoint service="intraoss:AddressLocationInfoOut"
                 endpoint="AddressLocationInfoOut"
                 role="provider"
                 soap="true"
                 soapVersion="1.2"
                 locationURI="${intraoss-server-url}/AddressLocationInfo"

wsdlResource="${intraoss-server-url}/AddressLocationInfo?wsdl"/>

       <http:endpoint service="intraoss:AddressLocationInfoIn"
                          endpoint="AddressLocationInfoIn"
                          role="consumer"
                          soap="true"
                          soapVersion="1.2"
                          targetService="intraoss:AddressLocationInfoOut"

locationURI="http://0.0.0.0:8192/AddressLocationInfo/";
                          wsdlResource="classpath:AddressLocationInfo.wsdl"

defaultMep="http://www.w3.org/2004/08/wsdl/in-out"/>

...

  <wsdl:service name="AddressLocationInfo">
    <wsdl:port name="AddressLocationInfoHttpPort"
binding="tns:AddressLocationInfoHttpBinding">
      <wsdlsoap:address
location="http://localhost:8192/AddressLocationInfo/"/>
    </wsdl:port>
  </wsdl:service>

Based on the fact that the wsdl:service/wsdl:[EMAIL PROTECTED] is
AddressLocationInfoHttpPort, I think that the endpoint might be
incorrectly configured. See this diagram for information on how the
xbean.xml maps to the WSDL:

http://incubator.apache.org/servicemix/5-jbi.html#5.JBI-Concretemodel

Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/

Reply via email to