ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tammo van Lessen <tvanles...@gmail.com>
Subject Re: Schema Error
Date Thu, 05 Aug 2010 13:38:05 GMT
Hi Alex,

did I get it correctly that MashupService.wsdl is the file that you have
created and MashupServiceProcess.wsdl is the WSDL that ODE delivers?

I think the problem is in MashupService.wsdl and is just moved to the
other WSDL.

I suggest you use an IDE like e.g. Eclipse to have an WSDL editor and
some facility to validate your files.

I think the problem is that you don't import the smsbean definition into
the schema where you want to use it. The best way to do this is to
create another XSD with the smsbean definition and import it into the
inline schema. Please have a look at
https://gist.github.com/87eb47e438b1e9de09fc

HTH,
  Tammo

On 04.08.2010 21:27, Alexander Blotny wrote:
> Sorry I accidently uploaded a modified MashupInvokeProcess.wsdl.
> 
> This is the correct part:
> 
> <xs:element name="getSMSReminderForNextCalendarTelcoEventEntryResponse">
> <xs:complexType>
> <xs:sequence>
> <xs:element minOccurs="0" name="return" nillable="true" type="tns:smsBean"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> 
> I tried to change the namespace of smsBean but the generated file uses tns
> as namespace.
> 
> 
> Am 04.08.10 19:42 schrieb "Alexander Blotny" unter
> <Alexander.Blotny@fokus.fraunhofer.de>:
> 
>> Hi Tammo,
>>
>> I uploaded the files to: http://www.megaupload.com/?d=0X8FWDAN
>>
>> greetings,
>> Alex
>>
>> Am 04.08.10 18:56 schrieb "Tammo van Lessen" unter <tvanlessen@gmail.com>:
>>
>>> Hi Alex,
>>>
>>> the attachments got somehow lost. Could you upload them to somewhere and
>>> share a link instead?
>>>
>>> Tammo
>>>
>>> On 04.08.2010 18:45, Alexander Blotny wrote:
>>>> Hi,
>>>>
>>>> I am trying to use Apache Ode for creating a BPEL Service.
>>>> I used the Eclipse BPEL Designer for creating all necessary files.
>>>>
>>>> The Web Service I want to invoke includes a complexType named smsBean.
>>>> The whole process is deployable and is available via a WSDL. I tried to
>>>> import this WSDL into SoapUI and got following exception:
>>>>
>>>> Wed Aug 04 18:11:49 CEST 2010:ERROR:org.apache.xmlbeans.XmlException:
>>>> http://localhost:8085/ode/processes/MashupInvokeProcess?wsdl:0: error:
>>>> src-resolve.a: Could not find type
>>>> 'smsBean@http://mashup.service.see.xposer.ngni.fokus.fhg.de/'. Do you
>>>> mean to refer to the type named smsBean (in MashupInvokeProcess_3Fwsdl)?
>>>>
>>>> The MashupInvokeProcess.wsdl is automatically generated by ode. The
>>>> smsBean is declared in the MashupService.wsdl that is supposed to be
>>>> invoked by the BPEL service. There is also a defintion in the
>>>> MashupInvokeProcess.wsdl. I think there is a problem with the namespace
>>>> but I have no idea how to solve this issue especially because I have no
>>>> control of the generated wsdl by ode.
>>>>
>>>> The two files are attached.
>>>>
>>>> I hope anyone can help me!
>>>>
>>>> greetings,
>>>> Alex
>>
> 

-- 
Tammo van Lessen - http://www.taval.de

Mime
View raw message