3 Replies Latest reply on Nov 23, 2005 7:30 AM by mooreg

    java.lang.Exception: The OperationDesc for ...  was not sync

    younes

      I spend to much time to find out what s going wrong but i can t make it work. i did see the ${jboss.data.dir}/wsdl und wsdd without any result!!!!!

      if someone can see what m doing wrong, i ll be appreciat it.

      the wsdd file :

      <deployment
      xmlns='http://xml.apache.org/axis/wsdd/'
      xmlns:java='http://xml.apache.org/axis/wsdd/providers/java'
      xmlns:soap='http://schemas.xmlsoap.org/soap/encoding/'
      xmlns:xsi='http://www.w3.org/2000/10/XMLSchema-instance'
      xmlns:xsd='http://www.w3.org/2001/XMLSchema'>

      <operation name='callServiceString'
      qname='ns1:callServiceString'
      returnQName='callServiceStringReturn'
      returnType='xsd:string' xmlns:ns1='http://interfaces.services.web.tuberlin.de' >

      <parameter name='in2' qname='in2' mode='IN' type='ns1:ArrayOf_xsd_string'
      xmlns:ns1='http://interfaces.services.web.tuberlin.de' />

      <typeMapping
      qname='ns1:ArrayOf_xsd_string'
      xmlns:ns1='http://interfaces.services.web.tuberlin.de'
      type='java:de.tuberlin.web.services.ArrayOf_xsd_string'
      serializer='org.apache.axis.encoding.ser.BeanSerializerFactory'
      deserializer='org.apache.axis.encoding.ser.BeanDeserializerFactory'
      encodingStyle=''>

      the wsdl file
      =]<?xml version="1.0" encoding="UTF-8"?>
      <wsdl:definitions targetNamespace="http://interfaces.services.web.tuberlin.de" xmlns:impl="http://interfaces.services.web.tuberlin.de" xmlns:intf="http://interfaces.services.web.tuberlin.de" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/">
      <wsdl:types>
      <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/>
      </wsdl:types>
      <wsdl:message name="callServiceStringRequest">
      <wsdl:part name="in0" type="xsd:string"/>
      <wsdl:part name="in1" type="xsd:string"/>
      <wsdl:part name="in2" type="impl:ArrayOf_xsd_string"/>
      </wsdl:message>
      <wsdl:message name="callServiceStringResponse">
      <wsdl:part name="callServiceStringReturn" type="xsd:string"/>
      </wsdl:message>
      <wsdl:portType name="ToolWebPlug">
      <wsdl:operation name="callServiceString" parameterOrder="in0 in1 in2">
      <wsdl:input name="callServiceStringRequest" message="impl:callServiceStringRequest"/>
      <wsdl:output name="callServiceStringResponse" message="impl:callServiceStringResponse"/>
      </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="ToolWebPlugSoapBinding" type="impl:ToolWebPlug">
      <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
      <wsdl:operation name="callServiceString">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="callServiceStringRequest">
      <wsdlsoap:body use="literal" namespace="http://interfaces.services.web.tuberlin.de"/>
      </wsdl:input>
      <wsdl:output name="callServiceStringResponse">
      <wsdlsoap:body use="literal" namespace="http://interfaces.services.web.tuberlin.de"/>
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="ToolWebPlugService">
      <wsdl:port name="ToolWebPlug" binding="impl:ToolWebPlugSoapBinding">
      <wsdlsoap:address location="http://localhost:8080/simple-ws4ee/exactpath/jse"/>
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>

      the method callServiceString :

      public String callServiceString(String service, String method, String[] params)

      the error wenn i try to view the services under localhost:8080/ws4ee/services

      AXIS error
      Sorry, something seems to have gone wrong... here are the details:
      Exception - org.apache.axis.InternalException: java.lang.Exception: The OperationDesc for callServiceString was not synchronized to a method of de.tuberlin.web.services.interfaces.ToolWebPlug.

      thanks