You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-user@ws.apache.org by "alfredo.s.g_uam_spain" <al...@gmail.com> on 2007/10/23 16:37:22 UTC
Error in wsdl parsing wsdl2java.sh
I got this error during code generation, but i think all is well defined..
what is wrong??
An exception was caught: [ID = 'NotDocLiteral'] The WSDL operation 'Notify'
is not doc-literal because it defines a message with more than one message
part for its SOAP Body. The SOAP Body of a doc-literal message should
contain one root request element (with the operation name) with zero or more
child elements (the parameters).
What does not doc-literal mean???
in this wsdl:
<wsdl:definitions name="WS-BrokeredNotification"
targetNamespace="http://ws.apache.org/muse/test/wsrf"
xmlns:tns="http://ws.apache.org/muse/test/wsrf"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl-soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2"
xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"
xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2"
xmlns:wst="http://docs.oasis-open.org/wsn/t-1"
xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1"
xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2"
xmlns:wsn-brw="http://docs.oasis-open.org/wsn/brw-2"
xmlns:wsn-b="http://docs.oasis-open.org/wsn/b-2"
xmlns:wsn-bw="http://docs.oasis-open.org/wsn/bw-2"
xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" >
<wsdl:types>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://www.w3.org/2005/08/addressing">
<xsd:include schemaLocation="WS-Addressing-2005_08.xsd"/>
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex">
<xsd:include schemaLocation="WS-MetadataExchange-2004_09.xsd"/>
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsrf/rl-2">
<xsd:include schemaLocation="WS-ResourceLifetime-1_2.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsrf/rp-2">
<xsd:include schemaLocation="WS-ResourceProperties-1_2.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsrf/r-2">
<xsd:include schemaLocation="WS-Resource-1_2.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsrf/rmd-1">
<xsd:include schemaLocation="WS-ResourceMetadataDescriptor-CD-01.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd">
<xsd:include schemaLocation="WSDM-MUWS-Part1-1_1.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsdm/muws2-2.xsd">
<xsd:include schemaLocation="WSDM-MUWS-Part2-1_1.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsn/b-2">
<xsd:include schemaLocation="WS-BaseNotification-1_3.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsn/t-1">
<xsd:include schemaLocation="WS-Topics-1_3.xsd" />
</xsd:schema>
</wsdl:types>
<!-- ========================== Imports =========================== -->
<wsdl:import namespace="http://docs.oasis-open.org/wsrf/rw-2"
location="http://docs.oasis-open.org/wsrf/rw-2.wsdl"/>
<wsdl:import namespace="http://docs.oasis-open.org/wsn/bw-2"
location="http://docs.oasis-open.org/wsn/bw-2.wsdl"/>
<!-- ===================== Types Definitions ====================== -->
<wsdl:types>
<xsd:schema>
<xsd:import
namespace="http://docs.oasis-open.org/wsn/br-2"
schemaLocation="http://docs.oasis-open.org/wsn/br-2.xsd"/>
</xsd:schema>
</wsdl:types>
<!-- ========== NotificationBroker::RegisterPublisher =============
RegisterPublisher(PublisherReference, TopicExpression* ,
[Demand], [InitialTerminationTime])
returns: WS-Resource qualified EPR to a PublisherRegistration -->
<wsdl:message name="RegisterPublisherRequest">
<wsdl:part name="RegisterPublisherRequest"
element="wsn-br:RegisterPublisher"/>
</wsdl:message>
<wsdl:message name="RegisterPublisherResponse">
<wsdl:part name="RegisterPublisherResponse"
element="wsn-br:RegisterPublisherResponse"/>
</wsdl:message>
<wsdl:message name="PublisherRegistrationRejectedFault">
<wsdl:part name="PublisherRegistrationRejectedFault"
element="wsn-br:PublisherRegistrationRejectedFault"/>
</wsdl:message>
<wsdl:message name="PublisherRegistrationFailedFault">
<wsdl:part name="PublisherRegistrationFailedFault"
element="wsn-br:PublisherRegistrationFailedFault"/>
</wsdl:message>
<wsdl:message name="DestroyRegistrationRequest">
<wsdl:part name="DestroyRegistrationRequest"
element="wsn-br:DestroyRegistration"/>
</wsdl:message>
<wsdl:message name="DestroyRegistrationResponse">
<wsdl:part name="DestroyRegistrationResponse"
element="wsn-br:DestroyRegistrationResponse"/>
</wsdl:message>
<wsdl:message name="ResourceNotDestroyedFault">
<wsdl:part name="ResourceNotDestroyedFault"
element="wsn-br:ResourceNotDestroyedFault"/>
</wsdl:message>
<!-- =================== PortType Definitions ===================== -->
<!-- ========== NotificationBroker PortType Definition ============ -->
<wsdl:portType name="NotificationBroker">
<!-- ============= extends NotificationConsumer ============= -->
<wsdl:operation name="Notify">
<wsdl:input message="wsn-bw:Notify" />
</wsdl:operation>
<!-- ============= extends NotificationProducer ============= -->
<wsdl:operation name="Subscribe">
<wsdl:input message="wsn-bw:SubscribeRequest" />
<wsdl:output message="wsn-bw:SubscribeResponse" />
<wsdl:fault name="ResourceUnknownFault"
message="wsrf-rw:ResourceUnknownFault" />
<wsdl:fault name="InvalidFilterFault"
message="wsn-bw:InvalidFilterFault"/>
<wsdl:fault name="TopicExpressionDialectUnknownFault"
message="wsn-bw:TopicExpressionDialectUnknownFault"/>
<wsdl:fault name="InvalidTopicExpressionFault"
message="wsn-bw:InvalidTopicExpressionFault" />
<wsdl:fault name="TopicNotSupportedFault"
message="wsn-bw:TopicNotSupportedFault" />
<wsdl:fault name="InvalidProducerPropertiesExpressionFault"
message="wsn-bw:InvalidProducerPropertiesExpressionFault"/>
<wsdl:fault name="InvalidMessageContentExpressionFault"
message="wsn-bw:InvalidMessageContentExpressionFault"/>
<wsdl:fault name="UnacceptableInitialTerminationTimeFault"
message="wsn-bw:UnacceptableInitialTerminationTimeFault"/>
<wsdl:fault name="UnrecognizedPolicyRequestFault"
message="wsn-bw:UnrecognizedPolicyRequestFault"/>
<wsdl:fault name="UnsupportedPolicyRequestFault"
message="wsn-bw:UnsupportedPolicyRequestFault"/>
<wsdl:fault name="NotifyMessageNotSupportedFault"
message="wsn-bw:NotifyMessageNotSupportedFault"/>
<wsdl:fault name="SubscribeCreationFailedFault"
message="wsn-bw:SubscribeCreationFailedFault"/>
</wsdl:operation>
<wsdl:operation name="GetCurrentMessage">
<wsdl:input message="wsn-bw:GetCurrentMessageRequest"/>
<wsdl:output message="wsn-bw:GetCurrentMessageResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsrf-rw:ResourceUnknownFault"/>
<wsdl:fault name="TopicExpressionDialectUnknownFault"
message="wsn-bw:TopicExpressionDialectUnknownFault"/>
<wsdl:fault name="InvalidTopicExpressionFault"
message="wsn-bw:InvalidTopicExpressionFault"/>
<wsdl:fault name="TopicNotSupportedFault"
message="wsn-bw:TopicNotSupportedFault"/>
<wsdl:fault name="NoCurrentMessageOnTopicFault"
message="wsn-bw:NoCurrentMessageOnTopicFault"/>
<wsdl:fault name="MultipleTopicsSpecifiedFault"
message="wsn-bw:MultipleTopicsSpecifiedFault"/>
</wsdl:operation>
<!-- ========= extends RegisterPublisher ======= -->
</wsdl:portType>
<wsdl:binding name="NotificationBrokerBinding"
type="tns:NotificationBroker">
<wsdl-soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="Notify">
<wsdl-soap:operation soapAction="Notify"/>
<wsdl:input>
<wsdl-soap:body
use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</wsdl:input>
<wsdl:output>
<wsdl-soap:body
use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Subscribe">
<wsdl-soap:operation
soapAction="http://ws.apache.org/muse/test/wsrf/Subscribe" />
<wsdl:input>
<wsdl-soap:body use="encoded" />
</wsdl:input>
<wsdl:output>
<wsdl-soap:body use="encoded" />
</wsdl:output>
<wsdl:fault name="ResourceUnknownFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded" name="ResourceUnknownFault" />
</wsdl:fault>
<wsdl:fault name="InvalidFilterFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded" name="InvalidFilterFault" />
</wsdl:fault>
<wsdl:fault name="TopicExpressionDialectUnknownFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded" name="TopicExpressionDialectUnknownFault" />
</wsdl:fault>
<wsdl:fault name="InvalidTopicExpressionFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded" name="InvalidTopicExpressionFault" />
</wsdl:fault>
<wsdl:fault name="TopicNotSupportedFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded" name="TopicNotSupportedFault" />
</wsdl:fault>
<wsdl:fault
name="InvalidProducerPropertiesExpressionFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded"
name="InvalidProducerPropertiesExpressionFault" />
</wsdl:fault>
<wsdl:fault name="InvalidMessageContentExpressionFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded" name="InvalidMessageContentExpressionFault" />
</wsdl:fault>
<wsdl:fault
name="UnacceptableInitialTerminationTimeFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded" name="UnacceptableInitialTerminationTimeFault" />
</wsdl:fault>
<wsdl:fault name="UnrecognizedPolicyRequestFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded" name="UnrecognizedPolicyRequestFault" />
</wsdl:fault>
<wsdl:fault name="UnsupportedPolicyRequestFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded" name="UnsupportedPolicyRequestFault" />
</wsdl:fault>
<wsdl:fault name="NotifyMessageNotSupportedFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded" name="NotifyMessageNotSupportedFault" />
</wsdl:fault>
<wsdl:fault name="SubscribeCreationFailedFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded" name="SubscribeCreationFailedFault" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="GetCurrentMessage">
<wsdl-soap:operation
soapAction="http://ws.apache.org/muse/test/wsrf/GetCurrentMessage"/>
<wsdl:input>
<wsdl-soap:body use="encoded" />
</wsdl:input>
<wsdl:output>
<wsdl-soap:body use="encoded" />
</wsdl:output>
<wsdl:fault name="ResourceUnknownFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded" name="ResourceUnknownFault" />
</wsdl:fault>
<wsdl:fault name="TopicExpressionDialectUnknownFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded" name="TopicExpressionDialectUnknownFault" />
</wsdl:fault>
<wsdl:fault name="InvalidTopicExpressionFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded" name="InvalidTopicExpressionFault" />
</wsdl:fault>
<wsdl:fault name="TopicNotSupportedFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded" name="TopicNotSupportedFault" />
</wsdl:fault>
<wsdl:fault name="NoCurrentMessageOnTopicFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded" name="NoCurrentMessageOnTopicFault" />
</wsdl:fault>
<wsdl:fault name="MultipleTopicsSpecifiedFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded" name="MultipleTopicsSpecifiedFault" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="WsResourceService">
<wsdl:port name="NotificationBrokerPort"
binding="tns:NotificationBrokerBinding">
<wsdl-soap:address
location="http://localhost:9090/wsn-producer/services/WsResource"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
--
View this message in context: http://www.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tf4677959.html#a13365893
Sent from the Muse User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org
Re: AW: AW: AW: Error in wsdl parsing wsdl2java.sh
Posted by Agustin1984 <ja...@hotmail.com>.
first of all thanks for your help
I understand the problem but my is a practic difficult:
- I must remove the import and insert all that I need in my wsdl file in
this case the error is relative to Notify operation in which the message use
the namespace imported, but how I must modify my file
- In the current thread Alfredo.s.g say "The problem was the namespace is
not tns ( local namespace ) for all instances for Notify, i changed that and
everything went ok"
he don't copy all necessary in his namespace but resolve the problem. what
you say about?
- I made the follows modification - changed the namespace of message in
Notify operation without deleting the import and all is ok - but I'm not
sure that what thewsdl2java tool generate is ok because I think that it must
contain one method for operation, it is correct?
I attach the wsdl file and the capability class generated, can you say to me
if all is ok?
WSDL FILE: http://old.nabble.com/file/p28458427/new.wsdl new.wsdl
CAPABILITY FILE: http://old.nabble.com/file/p28458427/IMyCapability.java
IMyCapability.java
Agustin
<wsdl:message name="Notify">
<wsdl:part name="Notify" element="wsnt:Notify" />
</wsdl:message>
Konrad Krentz wrote:
>
> <wsdl:import namespace="http://docs.oasis-open.org/wsn/bw-2"
>>>
>>> location="http://docs.oasis-open.org/wsn/bw-2.wsdl"/>
>
> WSDL imports aren't allowed ... unfortunately you have to copy everything
> you need into here.
>
> -----Ursprüngliche Nachricht-----
> Von: Agustin1984 [mailto:jamesdean84@hotmail.com]
> Gesendet: Dienstag, 4. Mai 2010 13:53
> An: muse-user@ws.apache.org
> Betreff: Re: AW: AW: Error in wsdl parsing wsdl2java.sh
>
>
> I found another thread that speack about this problem
> http://marc.info/?l=muse-user&m=117525841316735&w=2
>
> if I delete my import I don't receive that error but when wsdl2java tool
> generate the capability class they don't contain the methods relative to
> the
> operation that use that namespace
>
> Agustin
>
>
>
> Konrad Krentz wrote:
>>
>> <binding name="NotificationProducerBinding"
>> type="tns:NotificationProducerPortType">
>> <soap:binding style="document"
>> transport="http://schemas.xmlsoap.org/soap/http"/>
>>
>> <wsaw:UsingAddressing/>
>> <wsp:PolicyReference URI="#AddressingPolicy"/>
>>
>> <!-- WS-ResourceProperties -->
>>
>> <operation name="GetResourcePropertyDocument">
>> <soap:operation
>> soapAction="http://docs.oasis-open.org/wsrf/rpw-2/GetResourcePropertyDocument/GetResourcePropertyDocumentRequest"/>
>>
>> <input>
>> <soap:body use="literal"/>
>> </input>
>>
>> <output>
>> <soap:body use="literal"/>
>> </output>
>>
>> <fault name="ResourceUnknownFault">
>> <soap:fault name="ResourceUnknownFault"/>
>> </fault>
>>
>> <fault name="ResourceUnavailableFault">
>> <soap:fault name="ResourceUnavailableFault"/>
>> </fault>
>> </operation>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Agustin1984 [mailto:jamesdean84@hotmail.com]
>> Gesendet: Dienstag, 4. Mai 2010 10:54
>> An: muse-user@ws.apache.org
>> Betreff: Re: AW: Error in wsdl parsing wsdl2java.sh
>>
>>
>> I tried to modify all things that you say to me but I receive the same
>> error.
>> In particular I made the correction obtaining the following bind and
>> Notify
>> operation
>>
>> <wsdl:binding name="NotificationBrokerBinding"
>>
>> type="tns:NotificationBroker">
>>
>> <wsdl-soap:binding style="rpc"
>>
>> transport="http://schemas.xmlsoap.org/soap/http" />
>>
>> <wsdl:operation name="Notify">
>>
>> <wsdl-soap:operation soapAction="Notify" style="rpc"/>
>>
>> <wsdl:input >
>>
>> <wsdl-soap:body use="literal" />
>>
>> </wsdl:input>
>>
>> </wsdl:operation>
>>
>> ....
>>
>> </wsdl:binding>
>>
>>
>>
>> Konrad Krentz wrote:
>>>
>>> I think you should write use="literal" everywhere in your binding. In
>>> case
>>> of faults, I'm pretty sure that literal is the default, so you can leave
>>> it
>>> out there.
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Agustin1984 [mailto:jamesdean84@hotmail.com]
>>> Gesendet: Montag, 3. Mai 2010 16:02
>>> An: muse-user@ws.apache.org
>>> Betreff: Re: Error in wsdl parsing wsdl2java.sh
>>>
>>>
>>> Can you help me, I have your same problem, the same error, but I'have
>>> not
>>> Understood how you have resolved this problem.
>>>
>>> I'm implementing the ws-brokered notification, have you implemented it?
>>>
>>> best regards
>>> thanks
>>>
>>>
>>>
>>> alfredo.s.g_uam_spain wrote:
>>>>
>>>> I got this error during code generation, but i think all is well
>>>> defined..
>>>> what is wrong??
>>>>
>>>>
>>>> An exception was caught: [ID = 'NotDocLiteral'] The WSDL operation
>>>> 'Notify' is not doc-literal because it defines a message with more than
>>>> one message part for its SOAP Body. The SOAP Body of a doc-literal
>>>> message
>>>> should contain one root request element (with the operation name) with
>>>> zero or more child elements (the parameters).
>>>>
>>>> What does not doc-literal mean???
>>>>
>>>> in this wsdl:
>>>>
>>>>
>>>>
>>>>
>>>> <wsdl:definitions name="WS-BrokeredNotification"
>>>>
>>>> targetNamespace="http://ws.apache.org/muse/test/wsrf"
>>>> xmlns:tns="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> xmlns="http://schemas.xmlsoap.org/wsdl/"
>>>>
>>>> xmlns:wsa="http://www.w3.org/2005/08/addressing"
>>>>
>>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>>
>>>> xmlns:wsdl-soap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>>
>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>>>
>>>> xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
>>>>
>>>> xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
>>>>
>>>> xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2"
>>>>
>>>> xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
>>>>
>>>> xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"
>>>>
>>>> xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
>>>>
>>>> xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2"
>>>>
>>>> xmlns:wst="http://docs.oasis-open.org/wsn/t-1"
>>>>
>>>> xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1"
>>>>
>>>> xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
>>>>
>>>> xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd"
>>>>
>>>>
>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>
>>>> xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2"
>>>>
>>>> xmlns:wsn-brw="http://docs.oasis-open.org/wsn/brw-2"
>>>>
>>>> xmlns:wsn-b="http://docs.oasis-open.org/wsn/b-2"
>>>>
>>>> xmlns:wsn-bw="http://docs.oasis-open.org/wsn/bw-2"
>>>>
>>>> xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" >
>>>>
>>>>
>>>>
>>>> <wsdl:types>
>>>>
>>>> <xsd:schema
>>>>
>>>> elementFormDefault="qualified"
>>>>
>>>>
>>> targetNamespace="http://www.w3.org/2005/08/addressing">
>>>>
>>>> <xsd:include
>>> schemaLocation="WS-Addressing-2005_08.xsd"/>
>>>>
>>>> </xsd:schema>
>>>>
>>>> <xsd:schema
>>>>
>>>> elementFormDefault="qualified"
>>>>
>>>>
>>> targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex">
>>>>
>>>> <xsd:include
>>> schemaLocation="WS-MetadataExchange-2004_09.xsd"/>
>>>>
>>>> </xsd:schema>
>>>>
>>>> <xsd:schema
>>>>
>>>> elementFormDefault="qualified"
>>>>
>>>>
>>> targetNamespace="http://docs.oasis-open.org/wsrf/rl-2">
>>>>
>>>> <xsd:include
>>> schemaLocation="WS-ResourceLifetime-1_2.xsd" />
>>>>
>>>> </xsd:schema>
>>>>
>>>> <xsd:schema
>>>>
>>>> elementFormDefault="qualified"
>>>>
>>>>
>>> targetNamespace="http://docs.oasis-open.org/wsrf/rp-2">
>>>>
>>>> <xsd:include
>>> schemaLocation="WS-ResourceProperties-1_2.xsd" />
>>>>
>>>> </xsd:schema>
>>>>
>>>> <xsd:schema
>>>>
>>>> elementFormDefault="qualified"
>>>>
>>>>
>>> targetNamespace="http://docs.oasis-open.org/wsrf/r-2">
>>>>
>>>> <xsd:include schemaLocation="WS-Resource-1_2.xsd" />
>>>>
>>>> </xsd:schema>
>>>>
>>>> <xsd:schema
>>>>
>>>> elementFormDefault="qualified"
>>>>
>>>>
>>> targetNamespace="http://docs.oasis-open.org/wsrf/rmd-1">
>>>>
>>>> <xsd:include
>>> schemaLocation="WS-ResourceMetadataDescriptor-CD-01.xsd"
>>>> />
>>>>
>>>> </xsd:schema>
>>>>
>>>> <xsd:schema
>>>>
>>>> elementFormDefault="qualified"
>>>>
>>>>
>>> targetNamespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd">
>>>>
>>>> <xsd:include
>>> schemaLocation="WSDM-MUWS-Part1-1_1.xsd" />
>>>>
>>>> </xsd:schema>
>>>>
>>>> <xsd:schema
>>>>
>>>> elementFormDefault="qualified"
>>>>
>>>>
>>> targetNamespace="http://docs.oasis-open.org/wsdm/muws2-2.xsd">
>>>>
>>>> <xsd:include
>>> schemaLocation="WSDM-MUWS-Part2-1_1.xsd" />
>>>>
>>>> </xsd:schema>
>>>>
>>>> <xsd:schema
>>>>
>>>> elementFormDefault="qualified"
>>>>
>>>>
>>> targetNamespace="http://docs.oasis-open.org/wsn/b-2">
>>>>
>>>> <xsd:include
>>> schemaLocation="WS-BaseNotification-1_3.xsd" />
>>>>
>>>> </xsd:schema>
>>>>
>>>> <xsd:schema
>>>>
>>>> elementFormDefault="qualified"
>>>>
>>>>
>>> targetNamespace="http://docs.oasis-open.org/wsn/t-1">
>>>>
>>>> <xsd:include schemaLocation="WS-Topics-1_3.xsd" />
>>>>
>>>> </xsd:schema>
>>>> </wsdl:types>
>>>>
>>>> <!-- ========================== Imports =========================== -->
>>>>
>>>> <wsdl:import namespace="http://docs.oasis-open.org/wsrf/rw-2"
>>>>
>>>> location="http://docs.oasis-open.org/wsrf/rw-2.wsdl"/>
>>>>
>>>>
>>>>
>>>> <wsdl:import namespace="http://docs.oasis-open.org/wsn/bw-2"
>>>>
>>>> location="http://docs.oasis-open.org/wsn/bw-2.wsdl"/>
>>>>
>>>>
>>>>
>>>> <!-- ===================== Types Definitions ====================== -->
>>>>
>>>> <wsdl:types>
>>>>
>>>> <xsd:schema>
>>>>
>>>> <xsd:import
>>>>
>>>> namespace="http://docs.oasis-open.org/wsn/br-2"
>>>>
>>>> schemaLocation="http://docs.oasis-open.org/wsn/br-2.xsd"/>
>>>>
>>>> </xsd:schema>
>>>>
>>>> </wsdl:types>
>>>>
>>>>
>>>>
>>>> <!-- ========== NotificationBroker::RegisterPublisher =============
>>>>
>>>> RegisterPublisher(PublisherReference, TopicExpression* ,
>>>>
>>>> [Demand], [InitialTerminationTime])
>>>>
>>>> returns: WS-Resource qualified EPR to a PublisherRegistration -->
>>>>
>>>> <wsdl:message name="RegisterPublisherRequest">
>>>>
>>>> <wsdl:part name="RegisterPublisherRequest"
>>>>
>>>> element="wsn-br:RegisterPublisher"/>
>>>>
>>>> </wsdl:message>
>>>>
>>>>
>>>>
>>>> <wsdl:message name="RegisterPublisherResponse">
>>>>
>>>> <wsdl:part name="RegisterPublisherResponse"
>>>>
>>>> element="wsn-br:RegisterPublisherResponse"/>
>>>>
>>>> </wsdl:message>
>>>>
>>>>
>>>>
>>>> <wsdl:message name="PublisherRegistrationRejectedFault">
>>>>
>>>> <wsdl:part name="PublisherRegistrationRejectedFault"
>>>>
>>>> element="wsn-br:PublisherRegistrationRejectedFault"/>
>>>>
>>>> </wsdl:message>
>>>>
>>>>
>>>>
>>>> <wsdl:message name="PublisherRegistrationFailedFault">
>>>>
>>>> <wsdl:part name="PublisherRegistrationFailedFault"
>>>>
>>>> element="wsn-br:PublisherRegistrationFailedFault"/>
>>>>
>>>> </wsdl:message>
>>>>
>>>>
>>>>
>>>> <wsdl:message name="DestroyRegistrationRequest">
>>>>
>>>> <wsdl:part name="DestroyRegistrationRequest"
>>>>
>>>> element="wsn-br:DestroyRegistration"/>
>>>>
>>>> </wsdl:message>
>>>>
>>>>
>>>>
>>>> <wsdl:message name="DestroyRegistrationResponse">
>>>>
>>>> <wsdl:part name="DestroyRegistrationResponse"
>>>>
>>>> element="wsn-br:DestroyRegistrationResponse"/>
>>>>
>>>> </wsdl:message>
>>>>
>>>>
>>>>
>>>> <wsdl:message name="ResourceNotDestroyedFault">
>>>>
>>>> <wsdl:part name="ResourceNotDestroyedFault"
>>>>
>>>> element="wsn-br:ResourceNotDestroyedFault"/>
>>>>
>>>> </wsdl:message>
>>>>
>>>>
>>>>
>>>> <!-- =================== PortType Definitions ===================== -->
>>>>
>>>>
>>>> <!-- ========== NotificationBroker PortType Definition ============ -->
>>>>
>>>> <wsdl:portType name="NotificationBroker">
>>>>
>>>> <!-- ============= extends NotificationConsumer ============= -->
>>>>
>>>> <wsdl:operation name="Notify">
>>>>
>>>> <wsdl:input message="wsn-bw:Notify" />
>>>>
>>>> </wsdl:operation>
>>>>
>>>>
>>>>
>>>> <!-- ============= extends NotificationProducer ============= -->
>>>>
>>>> <wsdl:operation name="Subscribe">
>>>>
>>>> <wsdl:input message="wsn-bw:SubscribeRequest" />
>>>>
>>>> <wsdl:output message="wsn-bw:SubscribeResponse" />
>>>>
>>>> <wsdl:fault name="ResourceUnknownFault"
>>>>
>>>> message="wsrf-rw:ResourceUnknownFault" />
>>>>
>>>> <wsdl:fault name="InvalidFilterFault"
>>>>
>>>> message="wsn-bw:InvalidFilterFault"/>
>>>>
>>>> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>>>>
>>>>
>>>> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>>>>
>>>> <wsdl:fault name="InvalidTopicExpressionFault"
>>>>
>>>> message="wsn-bw:InvalidTopicExpressionFault" />
>>>>
>>>> <wsdl:fault name="TopicNotSupportedFault"
>>>>
>>>> message="wsn-bw:TopicNotSupportedFault" />
>>>>
>>>> <wsdl:fault name="InvalidProducerPropertiesExpressionFault"
>>>>
>>>>
>>>> message="wsn-bw:InvalidProducerPropertiesExpressionFault"/>
>>>>
>>>> <wsdl:fault name="InvalidMessageContentExpressionFault"
>>>>
>>>> message="wsn-bw:InvalidMessageContentExpressionFault"/>
>>>>
>>>> <wsdl:fault name="UnacceptableInitialTerminationTimeFault"
>>>>
>>>> message="wsn-bw:UnacceptableInitialTerminationTimeFault"/>
>>>>
>>>> <wsdl:fault name="UnrecognizedPolicyRequestFault"
>>>>
>>>> message="wsn-bw:UnrecognizedPolicyRequestFault"/>
>>>>
>>>> <wsdl:fault name="UnsupportedPolicyRequestFault"
>>>>
>>>> message="wsn-bw:UnsupportedPolicyRequestFault"/>
>>>>
>>>> <wsdl:fault name="NotifyMessageNotSupportedFault"
>>>>
>>>> message="wsn-bw:NotifyMessageNotSupportedFault"/>
>>>>
>>>> <wsdl:fault name="SubscribeCreationFailedFault"
>>>>
>>>> message="wsn-bw:SubscribeCreationFailedFault"/>
>>>>
>>>> </wsdl:operation>
>>>>
>>>> <wsdl:operation name="GetCurrentMessage">
>>>>
>>>> <wsdl:input message="wsn-bw:GetCurrentMessageRequest"/>
>>>>
>>>> <wsdl:output message="wsn-bw:GetCurrentMessageResponse"/>
>>>>
>>>> <wsdl:fault name="ResourceUnknownFault"
>>>>
>>>> message="wsrf-rw:ResourceUnknownFault"/>
>>>>
>>>> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>>>>
>>>> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>>>>
>>>> <wsdl:fault name="InvalidTopicExpressionFault"
>>>>
>>>> message="wsn-bw:InvalidTopicExpressionFault"/>
>>>>
>>>> <wsdl:fault name="TopicNotSupportedFault"
>>>>
>>>> message="wsn-bw:TopicNotSupportedFault"/>
>>>>
>>>> <wsdl:fault name="NoCurrentMessageOnTopicFault"
>>>>
>>>> message="wsn-bw:NoCurrentMessageOnTopicFault"/>
>>>>
>>>> <wsdl:fault name="MultipleTopicsSpecifiedFault"
>>>>
>>>> message="wsn-bw:MultipleTopicsSpecifiedFault"/>
>>>>
>>>> </wsdl:operation>
>>>>
>>>>
>>>>
>>>> <!-- ========= extends RegisterPublisher ======= -->
>>>>
>>>>
>>>>
>>>> </wsdl:portType>
>>>>
>>>>
>>>>
>>>> <wsdl:binding name="NotificationBrokerBinding"
>>>> type="tns:NotificationBroker">
>>>>
>>>> <wsdl-soap:binding style="document"
>>>> transport="http://schemas.xmlsoap.org/soap/http" />
>>>>
>>>>
>>>> <wsdl:operation name="Notify">
>>>> <wsdl-soap:operation soapAction="Notify"/>
>>>> <wsdl:input>
>>>> <wsdl-soap:body
>>>> use="encoded"
>>>>
>>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>>>>
>>>> </wsdl:input>
>>>> <wsdl:output>
>>>>
>>>> <wsdl-soap:body
>>>>
>>>> use="encoded"
>>>>
>>>>
>>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>>>>
>>>> </wsdl:output>
>>>> </wsdl:operation>
>>>>
>>>>
>>>>
>>>>
>>>> <wsdl:operation name="Subscribe">
>>>>
>>>> <wsdl-soap:operation
>>>>
>>>>
>>> soapAction="http://ws.apache.org/muse/test/wsrf/Subscribe" />
>>>>
>>>> <wsdl:input>
>>>>
>>>> <wsdl-soap:body use="encoded" />
>>>>
>>>> </wsdl:input>
>>>>
>>>> <wsdl:output>
>>>>
>>>> <wsdl-soap:body use="encoded" />
>>>>
>>>> </wsdl:output>
>>>>
>>>> <wsdl:fault name="ResourceUnknownFault">
>>>>
>>>> <wsdl-soap:fault
>>>>
>>>>
>>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> use="encoded" name="ResourceUnknownFault" />
>>>>
>>>> </wsdl:fault>
>>>>
>>>> <wsdl:fault name="InvalidFilterFault">
>>>>
>>>> <wsdl-soap:fault
>>>>
>>>>
>>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> use="encoded" name="InvalidFilterFault" />
>>>>
>>>> </wsdl:fault>
>>>>
>>>> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>>>>
>>>> <wsdl-soap:fault
>>>>
>>>>
>>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> use="encoded"
>>> name="TopicExpressionDialectUnknownFault" />
>>>>
>>>> </wsdl:fault>
>>>>
>>>> <wsdl:fault name="InvalidTopicExpressionFault">
>>>>
>>>> <wsdl-soap:fault
>>>>
>>>>
>>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> use="encoded"
>>> name="InvalidTopicExpressionFault" />
>>>>
>>>> </wsdl:fault>
>>>>
>>>> <wsdl:fault name="TopicNotSupportedFault">
>>>>
>>>> <wsdl-soap:fault
>>>>
>>>>
>>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> use="encoded" name="TopicNotSupportedFault"
>>> />
>>>>
>>>> </wsdl:fault>
>>>>
>>>> <wsdl:fault
>>>>
>>>> name="InvalidProducerPropertiesExpressionFault">
>>>>
>>>> <wsdl-soap:fault
>>>>
>>>>
>>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> use="encoded"
>>>>
>>>>
>>> name="InvalidProducerPropertiesExpressionFault" />
>>>>
>>>> </wsdl:fault>
>>>>
>>>> <wsdl:fault name="InvalidMessageContentExpressionFault">
>>>>
>>>> <wsdl-soap:fault
>>>>
>>>>
>>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> use="encoded"
>>> name="InvalidMessageContentExpressionFault" />
>>>>
>>>> </wsdl:fault>
>>>>
>>>> <wsdl:fault
>>>>
>>>> name="UnacceptableInitialTerminationTimeFault">
>>>>
>>>> <wsdl-soap:fault
>>>>
>>>>
>>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> use="encoded"
>>> name="UnacceptableInitialTerminationTimeFault" />
>>>>
>>>> </wsdl:fault>
>>>>
>>>> <wsdl:fault name="UnrecognizedPolicyRequestFault">
>>>>
>>>> <wsdl-soap:fault
>>>>
>>>>
>>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> use="encoded"
>>> name="UnrecognizedPolicyRequestFault" />
>>>>
>>>> </wsdl:fault>
>>>>
>>>> <wsdl:fault name="UnsupportedPolicyRequestFault">
>>>>
>>>> <wsdl-soap:fault
>>>>
>>>>
>>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> use="encoded"
>>> name="UnsupportedPolicyRequestFault" />
>>>>
>>>> </wsdl:fault>
>>>>
>>>> <wsdl:fault name="NotifyMessageNotSupportedFault">
>>>>
>>>> <wsdl-soap:fault
>>>>
>>>>
>>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> use="encoded"
>>> name="NotifyMessageNotSupportedFault" />
>>>>
>>>> </wsdl:fault>
>>>>
>>>> <wsdl:fault name="SubscribeCreationFailedFault">
>>>>
>>>> <wsdl-soap:fault
>>>>
>>>>
>>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> use="encoded"
>>> name="SubscribeCreationFailedFault" />
>>>>
>>>> </wsdl:fault>
>>>>
>>>> </wsdl:operation>
>>>>
>>>>
>>>> <wsdl:operation name="GetCurrentMessage">
>>>>
>>>> <wsdl-soap:operation
>>>>
>>>>
>>>> soapAction="http://ws.apache.org/muse/test/wsrf/GetCurrentMessage"/>
>>>>
>>>> <wsdl:input>
>>>>
>>>> <wsdl-soap:body use="encoded" />
>>>>
>>>> </wsdl:input>
>>>>
>>>> <wsdl:output>
>>>>
>>>> <wsdl-soap:body use="encoded" />
>>>>
>>>> </wsdl:output>
>>>>
>>>> <wsdl:fault name="ResourceUnknownFault">
>>>>
>>>> <wsdl-soap:fault
>>>>
>>>>
>>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> use="encoded" name="ResourceUnknownFault" />
>>>>
>>>> </wsdl:fault>
>>>>
>>>> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>>>>
>>>> <wsdl-soap:fault
>>>>
>>>>
>>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> use="encoded"
>>> name="TopicExpressionDialectUnknownFault" />
>>>>
>>>> </wsdl:fault>
>>>>
>>>> <wsdl:fault name="InvalidTopicExpressionFault">
>>>>
>>>> <wsdl-soap:fault
>>>>
>>>>
>>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> use="encoded"
>>> name="InvalidTopicExpressionFault" />
>>>>
>>>> </wsdl:fault>
>>>>
>>>> <wsdl:fault name="TopicNotSupportedFault">
>>>>
>>>> <wsdl-soap:fault
>>>>
>>>>
>>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> use="encoded" name="TopicNotSupportedFault"
>>> />
>>>>
>>>> </wsdl:fault>
>>>>
>>>> <wsdl:fault name="NoCurrentMessageOnTopicFault">
>>>>
>>>> <wsdl-soap:fault
>>>>
>>>>
>>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> use="encoded"
>>> name="NoCurrentMessageOnTopicFault" />
>>>>
>>>> </wsdl:fault>
>>>>
>>>> <wsdl:fault name="MultipleTopicsSpecifiedFault">
>>>>
>>>> <wsdl-soap:fault
>>>>
>>>>
>>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>>
>>>> use="encoded"
>>> name="MultipleTopicsSpecifiedFault" />
>>>>
>>>> </wsdl:fault>
>>>>
>>>> </wsdl:operation>
>>>>
>>>> </wsdl:binding>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> <wsdl:service name="WsResourceService">
>>>>
>>>> <wsdl:port name="NotificationBrokerPort"
>>>> binding="tns:NotificationBrokerBinding">
>>>>
>>>> <wsdl-soap:address
>>>> location="http://localhost:9090/wsn-producer/services/WsResource"/>
>>>>
>>>> </wsdl:port>
>>>>
>>>> </wsdl:service>
>>>>
>>>> </wsdl:definitions>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28435501
>>> .html
>>> Sent from the Muse User mailing list archive at Nabble.com.
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28444717.html
>> Sent from the Muse User mailing list archive at Nabble.com.
>>
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28446378.html
> Sent from the Muse User mailing list archive at Nabble.com.
>
>
>
--
View this message in context: http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28458427.html
Sent from the Muse User mailing list archive at Nabble.com.
AW: AW: AW: Error in wsdl parsing wsdl2java.sh
Posted by Konrad Krentz <ko...@googlemail.com>.
<wsdl:import namespace="http://docs.oasis-open.org/wsn/bw-2"
>>
>> location="http://docs.oasis-open.org/wsn/bw-2.wsdl"/>
WSDL imports aren't allowed ... unfortunately you have to copy everything you need into here.
-----Ursprüngliche Nachricht-----
Von: Agustin1984 [mailto:jamesdean84@hotmail.com]
Gesendet: Dienstag, 4. Mai 2010 13:53
An: muse-user@ws.apache.org
Betreff: Re: AW: AW: Error in wsdl parsing wsdl2java.sh
I found another thread that speack about this problem
http://marc.info/?l=muse-user&m=117525841316735&w=2
if I delete my import I don't receive that error but when wsdl2java tool
generate the capability class they don't contain the methods relative to the
operation that use that namespace
Agustin
Konrad Krentz wrote:
>
> <binding name="NotificationProducerBinding"
> type="tns:NotificationProducerPortType">
> <soap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http"/>
>
> <wsaw:UsingAddressing/>
> <wsp:PolicyReference URI="#AddressingPolicy"/>
>
> <!-- WS-ResourceProperties -->
>
> <operation name="GetResourcePropertyDocument">
> <soap:operation
> soapAction="http://docs.oasis-open.org/wsrf/rpw-2/GetResourcePropertyDocument/GetResourcePropertyDocumentRequest"/>
>
> <input>
> <soap:body use="literal"/>
> </input>
>
> <output>
> <soap:body use="literal"/>
> </output>
>
> <fault name="ResourceUnknownFault">
> <soap:fault name="ResourceUnknownFault"/>
> </fault>
>
> <fault name="ResourceUnavailableFault">
> <soap:fault name="ResourceUnavailableFault"/>
> </fault>
> </operation>
>
> -----Ursprüngliche Nachricht-----
> Von: Agustin1984 [mailto:jamesdean84@hotmail.com]
> Gesendet: Dienstag, 4. Mai 2010 10:54
> An: muse-user@ws.apache.org
> Betreff: Re: AW: Error in wsdl parsing wsdl2java.sh
>
>
> I tried to modify all things that you say to me but I receive the same
> error.
> In particular I made the correction obtaining the following bind and
> Notify
> operation
>
> <wsdl:binding name="NotificationBrokerBinding"
>
> type="tns:NotificationBroker">
>
> <wsdl-soap:binding style="rpc"
>
> transport="http://schemas.xmlsoap.org/soap/http" />
>
> <wsdl:operation name="Notify">
>
> <wsdl-soap:operation soapAction="Notify" style="rpc"/>
>
> <wsdl:input >
>
> <wsdl-soap:body use="literal" />
>
> </wsdl:input>
>
> </wsdl:operation>
>
> ....
>
> </wsdl:binding>
>
>
>
> Konrad Krentz wrote:
>>
>> I think you should write use="literal" everywhere in your binding. In
>> case
>> of faults, I'm pretty sure that literal is the default, so you can leave
>> it
>> out there.
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Agustin1984 [mailto:jamesdean84@hotmail.com]
>> Gesendet: Montag, 3. Mai 2010 16:02
>> An: muse-user@ws.apache.org
>> Betreff: Re: Error in wsdl parsing wsdl2java.sh
>>
>>
>> Can you help me, I have your same problem, the same error, but I'have not
>> Understood how you have resolved this problem.
>>
>> I'm implementing the ws-brokered notification, have you implemented it?
>>
>> best regards
>> thanks
>>
>>
>>
>> alfredo.s.g_uam_spain wrote:
>>>
>>> I got this error during code generation, but i think all is well
>>> defined..
>>> what is wrong??
>>>
>>>
>>> An exception was caught: [ID = 'NotDocLiteral'] The WSDL operation
>>> 'Notify' is not doc-literal because it defines a message with more than
>>> one message part for its SOAP Body. The SOAP Body of a doc-literal
>>> message
>>> should contain one root request element (with the operation name) with
>>> zero or more child elements (the parameters).
>>>
>>> What does not doc-literal mean???
>>>
>>> in this wsdl:
>>>
>>>
>>>
>>>
>>> <wsdl:definitions name="WS-BrokeredNotification"
>>>
>>> targetNamespace="http://ws.apache.org/muse/test/wsrf"
>>> xmlns:tns="http://ws.apache.org/muse/test/wsrf"
>>>
>>> xmlns="http://schemas.xmlsoap.org/wsdl/"
>>>
>>> xmlns:wsa="http://www.w3.org/2005/08/addressing"
>>>
>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>
>>> xmlns:wsdl-soap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>
>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>>
>>> xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
>>>
>>> xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
>>>
>>> xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2"
>>>
>>> xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
>>>
>>> xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"
>>>
>>> xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
>>>
>>> xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2"
>>>
>>> xmlns:wst="http://docs.oasis-open.org/wsn/t-1"
>>>
>>> xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1"
>>>
>>> xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
>>>
>>> xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd"
>>>
>>>
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>
>>> xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2"
>>>
>>> xmlns:wsn-brw="http://docs.oasis-open.org/wsn/brw-2"
>>>
>>> xmlns:wsn-b="http://docs.oasis-open.org/wsn/b-2"
>>>
>>> xmlns:wsn-bw="http://docs.oasis-open.org/wsn/bw-2"
>>>
>>> xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" >
>>>
>>>
>>>
>>> <wsdl:types>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://www.w3.org/2005/08/addressing">
>>>
>>> <xsd:include
>> schemaLocation="WS-Addressing-2005_08.xsd"/>
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex">
>>>
>>> <xsd:include
>> schemaLocation="WS-MetadataExchange-2004_09.xsd"/>
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/rl-2">
>>>
>>> <xsd:include
>> schemaLocation="WS-ResourceLifetime-1_2.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/rp-2">
>>>
>>> <xsd:include
>> schemaLocation="WS-ResourceProperties-1_2.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/r-2">
>>>
>>> <xsd:include schemaLocation="WS-Resource-1_2.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/rmd-1">
>>>
>>> <xsd:include
>> schemaLocation="WS-ResourceMetadataDescriptor-CD-01.xsd"
>>> />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd">
>>>
>>> <xsd:include
>> schemaLocation="WSDM-MUWS-Part1-1_1.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsdm/muws2-2.xsd">
>>>
>>> <xsd:include
>> schemaLocation="WSDM-MUWS-Part2-1_1.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsn/b-2">
>>>
>>> <xsd:include
>> schemaLocation="WS-BaseNotification-1_3.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsn/t-1">
>>>
>>> <xsd:include schemaLocation="WS-Topics-1_3.xsd" />
>>>
>>> </xsd:schema>
>>> </wsdl:types>
>>>
>>> <!-- ========================== Imports =========================== -->
>>>
>>> <wsdl:import namespace="http://docs.oasis-open.org/wsrf/rw-2"
>>>
>>> location="http://docs.oasis-open.org/wsrf/rw-2.wsdl"/>
>>>
>>>
>>>
>>> <wsdl:import namespace="http://docs.oasis-open.org/wsn/bw-2"
>>>
>>> location="http://docs.oasis-open.org/wsn/bw-2.wsdl"/>
>>>
>>>
>>>
>>> <!-- ===================== Types Definitions ====================== -->
>>>
>>> <wsdl:types>
>>>
>>> <xsd:schema>
>>>
>>> <xsd:import
>>>
>>> namespace="http://docs.oasis-open.org/wsn/br-2"
>>>
>>> schemaLocation="http://docs.oasis-open.org/wsn/br-2.xsd"/>
>>>
>>> </xsd:schema>
>>>
>>> </wsdl:types>
>>>
>>>
>>>
>>> <!-- ========== NotificationBroker::RegisterPublisher =============
>>>
>>> RegisterPublisher(PublisherReference, TopicExpression* ,
>>>
>>> [Demand], [InitialTerminationTime])
>>>
>>> returns: WS-Resource qualified EPR to a PublisherRegistration -->
>>>
>>> <wsdl:message name="RegisterPublisherRequest">
>>>
>>> <wsdl:part name="RegisterPublisherRequest"
>>>
>>> element="wsn-br:RegisterPublisher"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="RegisterPublisherResponse">
>>>
>>> <wsdl:part name="RegisterPublisherResponse"
>>>
>>> element="wsn-br:RegisterPublisherResponse"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="PublisherRegistrationRejectedFault">
>>>
>>> <wsdl:part name="PublisherRegistrationRejectedFault"
>>>
>>> element="wsn-br:PublisherRegistrationRejectedFault"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="PublisherRegistrationFailedFault">
>>>
>>> <wsdl:part name="PublisherRegistrationFailedFault"
>>>
>>> element="wsn-br:PublisherRegistrationFailedFault"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="DestroyRegistrationRequest">
>>>
>>> <wsdl:part name="DestroyRegistrationRequest"
>>>
>>> element="wsn-br:DestroyRegistration"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="DestroyRegistrationResponse">
>>>
>>> <wsdl:part name="DestroyRegistrationResponse"
>>>
>>> element="wsn-br:DestroyRegistrationResponse"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="ResourceNotDestroyedFault">
>>>
>>> <wsdl:part name="ResourceNotDestroyedFault"
>>>
>>> element="wsn-br:ResourceNotDestroyedFault"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <!-- =================== PortType Definitions ===================== -->
>>>
>>>
>>> <!-- ========== NotificationBroker PortType Definition ============ -->
>>>
>>> <wsdl:portType name="NotificationBroker">
>>>
>>> <!-- ============= extends NotificationConsumer ============= -->
>>>
>>> <wsdl:operation name="Notify">
>>>
>>> <wsdl:input message="wsn-bw:Notify" />
>>>
>>> </wsdl:operation>
>>>
>>>
>>>
>>> <!-- ============= extends NotificationProducer ============= -->
>>>
>>> <wsdl:operation name="Subscribe">
>>>
>>> <wsdl:input message="wsn-bw:SubscribeRequest" />
>>>
>>> <wsdl:output message="wsn-bw:SubscribeResponse" />
>>>
>>> <wsdl:fault name="ResourceUnknownFault"
>>>
>>> message="wsrf-rw:ResourceUnknownFault" />
>>>
>>> <wsdl:fault name="InvalidFilterFault"
>>>
>>> message="wsn-bw:InvalidFilterFault"/>
>>>
>>> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>>>
>>> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>>>
>>> <wsdl:fault name="InvalidTopicExpressionFault"
>>>
>>> message="wsn-bw:InvalidTopicExpressionFault" />
>>>
>>> <wsdl:fault name="TopicNotSupportedFault"
>>>
>>> message="wsn-bw:TopicNotSupportedFault" />
>>>
>>> <wsdl:fault name="InvalidProducerPropertiesExpressionFault"
>>>
>>> message="wsn-bw:InvalidProducerPropertiesExpressionFault"/>
>>>
>>> <wsdl:fault name="InvalidMessageContentExpressionFault"
>>>
>>> message="wsn-bw:InvalidMessageContentExpressionFault"/>
>>>
>>> <wsdl:fault name="UnacceptableInitialTerminationTimeFault"
>>>
>>> message="wsn-bw:UnacceptableInitialTerminationTimeFault"/>
>>>
>>> <wsdl:fault name="UnrecognizedPolicyRequestFault"
>>>
>>> message="wsn-bw:UnrecognizedPolicyRequestFault"/>
>>>
>>> <wsdl:fault name="UnsupportedPolicyRequestFault"
>>>
>>> message="wsn-bw:UnsupportedPolicyRequestFault"/>
>>>
>>> <wsdl:fault name="NotifyMessageNotSupportedFault"
>>>
>>> message="wsn-bw:NotifyMessageNotSupportedFault"/>
>>>
>>> <wsdl:fault name="SubscribeCreationFailedFault"
>>>
>>> message="wsn-bw:SubscribeCreationFailedFault"/>
>>>
>>> </wsdl:operation>
>>>
>>> <wsdl:operation name="GetCurrentMessage">
>>>
>>> <wsdl:input message="wsn-bw:GetCurrentMessageRequest"/>
>>>
>>> <wsdl:output message="wsn-bw:GetCurrentMessageResponse"/>
>>>
>>> <wsdl:fault name="ResourceUnknownFault"
>>>
>>> message="wsrf-rw:ResourceUnknownFault"/>
>>>
>>> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>>>
>>> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>>>
>>> <wsdl:fault name="InvalidTopicExpressionFault"
>>>
>>> message="wsn-bw:InvalidTopicExpressionFault"/>
>>>
>>> <wsdl:fault name="TopicNotSupportedFault"
>>>
>>> message="wsn-bw:TopicNotSupportedFault"/>
>>>
>>> <wsdl:fault name="NoCurrentMessageOnTopicFault"
>>>
>>> message="wsn-bw:NoCurrentMessageOnTopicFault"/>
>>>
>>> <wsdl:fault name="MultipleTopicsSpecifiedFault"
>>>
>>> message="wsn-bw:MultipleTopicsSpecifiedFault"/>
>>>
>>> </wsdl:operation>
>>>
>>>
>>>
>>> <!-- ========= extends RegisterPublisher ======= -->
>>>
>>>
>>>
>>> </wsdl:portType>
>>>
>>>
>>>
>>> <wsdl:binding name="NotificationBrokerBinding"
>>> type="tns:NotificationBroker">
>>>
>>> <wsdl-soap:binding style="document"
>>> transport="http://schemas.xmlsoap.org/soap/http" />
>>>
>>>
>>> <wsdl:operation name="Notify">
>>> <wsdl-soap:operation soapAction="Notify"/>
>>> <wsdl:input>
>>> <wsdl-soap:body
>>> use="encoded"
>>>
>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>>>
>>> </wsdl:input>
>>> <wsdl:output>
>>>
>>> <wsdl-soap:body
>>>
>>> use="encoded"
>>>
>>>
>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>>>
>>> </wsdl:output>
>>> </wsdl:operation>
>>>
>>>
>>>
>>>
>>> <wsdl:operation name="Subscribe">
>>>
>>> <wsdl-soap:operation
>>>
>>>
>> soapAction="http://ws.apache.org/muse/test/wsrf/Subscribe" />
>>>
>>> <wsdl:input>
>>>
>>> <wsdl-soap:body use="encoded" />
>>>
>>> </wsdl:input>
>>>
>>> <wsdl:output>
>>>
>>> <wsdl-soap:body use="encoded" />
>>>
>>> </wsdl:output>
>>>
>>> <wsdl:fault name="ResourceUnknownFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="ResourceUnknownFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="InvalidFilterFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="InvalidFilterFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="TopicExpressionDialectUnknownFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="InvalidTopicExpressionFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="InvalidTopicExpressionFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="TopicNotSupportedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="TopicNotSupportedFault"
>> />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault
>>>
>>> name="InvalidProducerPropertiesExpressionFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>>>
>>>
>> name="InvalidProducerPropertiesExpressionFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="InvalidMessageContentExpressionFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="InvalidMessageContentExpressionFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault
>>>
>>> name="UnacceptableInitialTerminationTimeFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="UnacceptableInitialTerminationTimeFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="UnrecognizedPolicyRequestFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="UnrecognizedPolicyRequestFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="UnsupportedPolicyRequestFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="UnsupportedPolicyRequestFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="NotifyMessageNotSupportedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="NotifyMessageNotSupportedFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="SubscribeCreationFailedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="SubscribeCreationFailedFault" />
>>>
>>> </wsdl:fault>
>>>
>>> </wsdl:operation>
>>>
>>>
>>> <wsdl:operation name="GetCurrentMessage">
>>>
>>> <wsdl-soap:operation
>>>
>>>
>>> soapAction="http://ws.apache.org/muse/test/wsrf/GetCurrentMessage"/>
>>>
>>> <wsdl:input>
>>>
>>> <wsdl-soap:body use="encoded" />
>>>
>>> </wsdl:input>
>>>
>>> <wsdl:output>
>>>
>>> <wsdl-soap:body use="encoded" />
>>>
>>> </wsdl:output>
>>>
>>> <wsdl:fault name="ResourceUnknownFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="ResourceUnknownFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="TopicExpressionDialectUnknownFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="InvalidTopicExpressionFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="InvalidTopicExpressionFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="TopicNotSupportedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="TopicNotSupportedFault"
>> />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="NoCurrentMessageOnTopicFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="NoCurrentMessageOnTopicFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="MultipleTopicsSpecifiedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="MultipleTopicsSpecifiedFault" />
>>>
>>> </wsdl:fault>
>>>
>>> </wsdl:operation>
>>>
>>> </wsdl:binding>
>>>
>>>
>>>
>>>
>>>
>>> <wsdl:service name="WsResourceService">
>>>
>>> <wsdl:port name="NotificationBrokerPort"
>>> binding="tns:NotificationBrokerBinding">
>>>
>>> <wsdl-soap:address
>>> location="http://localhost:9090/wsn-producer/services/WsResource"/>
>>>
>>> </wsdl:port>
>>>
>>> </wsdl:service>
>>>
>>> </wsdl:definitions>
>>>
>>>
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28435501
>> .html
>> Sent from the Muse User mailing list archive at Nabble.com.
>>
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28444717.html
> Sent from the Muse User mailing list archive at Nabble.com.
>
>
>
--
View this message in context: http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28446378.html
Sent from the Muse User mailing list archive at Nabble.com.
Re: AW: AW: Error in wsdl parsing wsdl2java.sh
Posted by Agustin1984 <ja...@hotmail.com>.
I found another thread that speack about this problem
http://marc.info/?l=muse-user&m=117525841316735&w=2
if I delete my import I don't receive that error but when wsdl2java tool
generate the capability class they don't contain the methods relative to the
operation that use that namespace
Agustin
Konrad Krentz wrote:
>
> <binding name="NotificationProducerBinding"
> type="tns:NotificationProducerPortType">
> <soap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http"/>
>
> <wsaw:UsingAddressing/>
> <wsp:PolicyReference URI="#AddressingPolicy"/>
>
> <!-- WS-ResourceProperties -->
>
> <operation name="GetResourcePropertyDocument">
> <soap:operation
> soapAction="http://docs.oasis-open.org/wsrf/rpw-2/GetResourcePropertyDocument/GetResourcePropertyDocumentRequest"/>
>
> <input>
> <soap:body use="literal"/>
> </input>
>
> <output>
> <soap:body use="literal"/>
> </output>
>
> <fault name="ResourceUnknownFault">
> <soap:fault name="ResourceUnknownFault"/>
> </fault>
>
> <fault name="ResourceUnavailableFault">
> <soap:fault name="ResourceUnavailableFault"/>
> </fault>
> </operation>
>
> -----Ursprüngliche Nachricht-----
> Von: Agustin1984 [mailto:jamesdean84@hotmail.com]
> Gesendet: Dienstag, 4. Mai 2010 10:54
> An: muse-user@ws.apache.org
> Betreff: Re: AW: Error in wsdl parsing wsdl2java.sh
>
>
> I tried to modify all things that you say to me but I receive the same
> error.
> In particular I made the correction obtaining the following bind and
> Notify
> operation
>
> <wsdl:binding name="NotificationBrokerBinding"
>
> type="tns:NotificationBroker">
>
> <wsdl-soap:binding style="rpc"
>
> transport="http://schemas.xmlsoap.org/soap/http" />
>
> <wsdl:operation name="Notify">
>
> <wsdl-soap:operation soapAction="Notify" style="rpc"/>
>
> <wsdl:input >
>
> <wsdl-soap:body use="literal" />
>
> </wsdl:input>
>
> </wsdl:operation>
>
> ....
>
> </wsdl:binding>
>
>
>
> Konrad Krentz wrote:
>>
>> I think you should write use="literal" everywhere in your binding. In
>> case
>> of faults, I'm pretty sure that literal is the default, so you can leave
>> it
>> out there.
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Agustin1984 [mailto:jamesdean84@hotmail.com]
>> Gesendet: Montag, 3. Mai 2010 16:02
>> An: muse-user@ws.apache.org
>> Betreff: Re: Error in wsdl parsing wsdl2java.sh
>>
>>
>> Can you help me, I have your same problem, the same error, but I'have not
>> Understood how you have resolved this problem.
>>
>> I'm implementing the ws-brokered notification, have you implemented it?
>>
>> best regards
>> thanks
>>
>>
>>
>> alfredo.s.g_uam_spain wrote:
>>>
>>> I got this error during code generation, but i think all is well
>>> defined..
>>> what is wrong??
>>>
>>>
>>> An exception was caught: [ID = 'NotDocLiteral'] The WSDL operation
>>> 'Notify' is not doc-literal because it defines a message with more than
>>> one message part for its SOAP Body. The SOAP Body of a doc-literal
>>> message
>>> should contain one root request element (with the operation name) with
>>> zero or more child elements (the parameters).
>>>
>>> What does not doc-literal mean???
>>>
>>> in this wsdl:
>>>
>>>
>>>
>>>
>>> <wsdl:definitions name="WS-BrokeredNotification"
>>>
>>> targetNamespace="http://ws.apache.org/muse/test/wsrf"
>>> xmlns:tns="http://ws.apache.org/muse/test/wsrf"
>>>
>>> xmlns="http://schemas.xmlsoap.org/wsdl/"
>>>
>>> xmlns:wsa="http://www.w3.org/2005/08/addressing"
>>>
>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>
>>> xmlns:wsdl-soap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>
>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>>
>>> xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
>>>
>>> xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
>>>
>>> xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2"
>>>
>>> xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
>>>
>>> xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"
>>>
>>> xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
>>>
>>> xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2"
>>>
>>> xmlns:wst="http://docs.oasis-open.org/wsn/t-1"
>>>
>>> xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1"
>>>
>>> xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
>>>
>>> xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd"
>>>
>>>
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>
>>> xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2"
>>>
>>> xmlns:wsn-brw="http://docs.oasis-open.org/wsn/brw-2"
>>>
>>> xmlns:wsn-b="http://docs.oasis-open.org/wsn/b-2"
>>>
>>> xmlns:wsn-bw="http://docs.oasis-open.org/wsn/bw-2"
>>>
>>> xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" >
>>>
>>>
>>>
>>> <wsdl:types>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://www.w3.org/2005/08/addressing">
>>>
>>> <xsd:include
>> schemaLocation="WS-Addressing-2005_08.xsd"/>
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex">
>>>
>>> <xsd:include
>> schemaLocation="WS-MetadataExchange-2004_09.xsd"/>
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/rl-2">
>>>
>>> <xsd:include
>> schemaLocation="WS-ResourceLifetime-1_2.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/rp-2">
>>>
>>> <xsd:include
>> schemaLocation="WS-ResourceProperties-1_2.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/r-2">
>>>
>>> <xsd:include schemaLocation="WS-Resource-1_2.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/rmd-1">
>>>
>>> <xsd:include
>> schemaLocation="WS-ResourceMetadataDescriptor-CD-01.xsd"
>>> />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd">
>>>
>>> <xsd:include
>> schemaLocation="WSDM-MUWS-Part1-1_1.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsdm/muws2-2.xsd">
>>>
>>> <xsd:include
>> schemaLocation="WSDM-MUWS-Part2-1_1.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsn/b-2">
>>>
>>> <xsd:include
>> schemaLocation="WS-BaseNotification-1_3.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsn/t-1">
>>>
>>> <xsd:include schemaLocation="WS-Topics-1_3.xsd" />
>>>
>>> </xsd:schema>
>>> </wsdl:types>
>>>
>>> <!-- ========================== Imports =========================== -->
>>>
>>> <wsdl:import namespace="http://docs.oasis-open.org/wsrf/rw-2"
>>>
>>> location="http://docs.oasis-open.org/wsrf/rw-2.wsdl"/>
>>>
>>>
>>>
>>> <wsdl:import namespace="http://docs.oasis-open.org/wsn/bw-2"
>>>
>>> location="http://docs.oasis-open.org/wsn/bw-2.wsdl"/>
>>>
>>>
>>>
>>> <!-- ===================== Types Definitions ====================== -->
>>>
>>> <wsdl:types>
>>>
>>> <xsd:schema>
>>>
>>> <xsd:import
>>>
>>> namespace="http://docs.oasis-open.org/wsn/br-2"
>>>
>>> schemaLocation="http://docs.oasis-open.org/wsn/br-2.xsd"/>
>>>
>>> </xsd:schema>
>>>
>>> </wsdl:types>
>>>
>>>
>>>
>>> <!-- ========== NotificationBroker::RegisterPublisher =============
>>>
>>> RegisterPublisher(PublisherReference, TopicExpression* ,
>>>
>>> [Demand], [InitialTerminationTime])
>>>
>>> returns: WS-Resource qualified EPR to a PublisherRegistration -->
>>>
>>> <wsdl:message name="RegisterPublisherRequest">
>>>
>>> <wsdl:part name="RegisterPublisherRequest"
>>>
>>> element="wsn-br:RegisterPublisher"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="RegisterPublisherResponse">
>>>
>>> <wsdl:part name="RegisterPublisherResponse"
>>>
>>> element="wsn-br:RegisterPublisherResponse"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="PublisherRegistrationRejectedFault">
>>>
>>> <wsdl:part name="PublisherRegistrationRejectedFault"
>>>
>>> element="wsn-br:PublisherRegistrationRejectedFault"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="PublisherRegistrationFailedFault">
>>>
>>> <wsdl:part name="PublisherRegistrationFailedFault"
>>>
>>> element="wsn-br:PublisherRegistrationFailedFault"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="DestroyRegistrationRequest">
>>>
>>> <wsdl:part name="DestroyRegistrationRequest"
>>>
>>> element="wsn-br:DestroyRegistration"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="DestroyRegistrationResponse">
>>>
>>> <wsdl:part name="DestroyRegistrationResponse"
>>>
>>> element="wsn-br:DestroyRegistrationResponse"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="ResourceNotDestroyedFault">
>>>
>>> <wsdl:part name="ResourceNotDestroyedFault"
>>>
>>> element="wsn-br:ResourceNotDestroyedFault"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <!-- =================== PortType Definitions ===================== -->
>>>
>>>
>>> <!-- ========== NotificationBroker PortType Definition ============ -->
>>>
>>> <wsdl:portType name="NotificationBroker">
>>>
>>> <!-- ============= extends NotificationConsumer ============= -->
>>>
>>> <wsdl:operation name="Notify">
>>>
>>> <wsdl:input message="wsn-bw:Notify" />
>>>
>>> </wsdl:operation>
>>>
>>>
>>>
>>> <!-- ============= extends NotificationProducer ============= -->
>>>
>>> <wsdl:operation name="Subscribe">
>>>
>>> <wsdl:input message="wsn-bw:SubscribeRequest" />
>>>
>>> <wsdl:output message="wsn-bw:SubscribeResponse" />
>>>
>>> <wsdl:fault name="ResourceUnknownFault"
>>>
>>> message="wsrf-rw:ResourceUnknownFault" />
>>>
>>> <wsdl:fault name="InvalidFilterFault"
>>>
>>> message="wsn-bw:InvalidFilterFault"/>
>>>
>>> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>>>
>>> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>>>
>>> <wsdl:fault name="InvalidTopicExpressionFault"
>>>
>>> message="wsn-bw:InvalidTopicExpressionFault" />
>>>
>>> <wsdl:fault name="TopicNotSupportedFault"
>>>
>>> message="wsn-bw:TopicNotSupportedFault" />
>>>
>>> <wsdl:fault name="InvalidProducerPropertiesExpressionFault"
>>>
>>> message="wsn-bw:InvalidProducerPropertiesExpressionFault"/>
>>>
>>> <wsdl:fault name="InvalidMessageContentExpressionFault"
>>>
>>> message="wsn-bw:InvalidMessageContentExpressionFault"/>
>>>
>>> <wsdl:fault name="UnacceptableInitialTerminationTimeFault"
>>>
>>> message="wsn-bw:UnacceptableInitialTerminationTimeFault"/>
>>>
>>> <wsdl:fault name="UnrecognizedPolicyRequestFault"
>>>
>>> message="wsn-bw:UnrecognizedPolicyRequestFault"/>
>>>
>>> <wsdl:fault name="UnsupportedPolicyRequestFault"
>>>
>>> message="wsn-bw:UnsupportedPolicyRequestFault"/>
>>>
>>> <wsdl:fault name="NotifyMessageNotSupportedFault"
>>>
>>> message="wsn-bw:NotifyMessageNotSupportedFault"/>
>>>
>>> <wsdl:fault name="SubscribeCreationFailedFault"
>>>
>>> message="wsn-bw:SubscribeCreationFailedFault"/>
>>>
>>> </wsdl:operation>
>>>
>>> <wsdl:operation name="GetCurrentMessage">
>>>
>>> <wsdl:input message="wsn-bw:GetCurrentMessageRequest"/>
>>>
>>> <wsdl:output message="wsn-bw:GetCurrentMessageResponse"/>
>>>
>>> <wsdl:fault name="ResourceUnknownFault"
>>>
>>> message="wsrf-rw:ResourceUnknownFault"/>
>>>
>>> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>>>
>>> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>>>
>>> <wsdl:fault name="InvalidTopicExpressionFault"
>>>
>>> message="wsn-bw:InvalidTopicExpressionFault"/>
>>>
>>> <wsdl:fault name="TopicNotSupportedFault"
>>>
>>> message="wsn-bw:TopicNotSupportedFault"/>
>>>
>>> <wsdl:fault name="NoCurrentMessageOnTopicFault"
>>>
>>> message="wsn-bw:NoCurrentMessageOnTopicFault"/>
>>>
>>> <wsdl:fault name="MultipleTopicsSpecifiedFault"
>>>
>>> message="wsn-bw:MultipleTopicsSpecifiedFault"/>
>>>
>>> </wsdl:operation>
>>>
>>>
>>>
>>> <!-- ========= extends RegisterPublisher ======= -->
>>>
>>>
>>>
>>> </wsdl:portType>
>>>
>>>
>>>
>>> <wsdl:binding name="NotificationBrokerBinding"
>>> type="tns:NotificationBroker">
>>>
>>> <wsdl-soap:binding style="document"
>>> transport="http://schemas.xmlsoap.org/soap/http" />
>>>
>>>
>>> <wsdl:operation name="Notify">
>>> <wsdl-soap:operation soapAction="Notify"/>
>>> <wsdl:input>
>>> <wsdl-soap:body
>>> use="encoded"
>>>
>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>>>
>>> </wsdl:input>
>>> <wsdl:output>
>>>
>>> <wsdl-soap:body
>>>
>>> use="encoded"
>>>
>>>
>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>>>
>>> </wsdl:output>
>>> </wsdl:operation>
>>>
>>>
>>>
>>>
>>> <wsdl:operation name="Subscribe">
>>>
>>> <wsdl-soap:operation
>>>
>>>
>> soapAction="http://ws.apache.org/muse/test/wsrf/Subscribe" />
>>>
>>> <wsdl:input>
>>>
>>> <wsdl-soap:body use="encoded" />
>>>
>>> </wsdl:input>
>>>
>>> <wsdl:output>
>>>
>>> <wsdl-soap:body use="encoded" />
>>>
>>> </wsdl:output>
>>>
>>> <wsdl:fault name="ResourceUnknownFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="ResourceUnknownFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="InvalidFilterFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="InvalidFilterFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="TopicExpressionDialectUnknownFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="InvalidTopicExpressionFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="InvalidTopicExpressionFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="TopicNotSupportedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="TopicNotSupportedFault"
>> />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault
>>>
>>> name="InvalidProducerPropertiesExpressionFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>>>
>>>
>> name="InvalidProducerPropertiesExpressionFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="InvalidMessageContentExpressionFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="InvalidMessageContentExpressionFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault
>>>
>>> name="UnacceptableInitialTerminationTimeFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="UnacceptableInitialTerminationTimeFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="UnrecognizedPolicyRequestFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="UnrecognizedPolicyRequestFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="UnsupportedPolicyRequestFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="UnsupportedPolicyRequestFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="NotifyMessageNotSupportedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="NotifyMessageNotSupportedFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="SubscribeCreationFailedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="SubscribeCreationFailedFault" />
>>>
>>> </wsdl:fault>
>>>
>>> </wsdl:operation>
>>>
>>>
>>> <wsdl:operation name="GetCurrentMessage">
>>>
>>> <wsdl-soap:operation
>>>
>>>
>>> soapAction="http://ws.apache.org/muse/test/wsrf/GetCurrentMessage"/>
>>>
>>> <wsdl:input>
>>>
>>> <wsdl-soap:body use="encoded" />
>>>
>>> </wsdl:input>
>>>
>>> <wsdl:output>
>>>
>>> <wsdl-soap:body use="encoded" />
>>>
>>> </wsdl:output>
>>>
>>> <wsdl:fault name="ResourceUnknownFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="ResourceUnknownFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="TopicExpressionDialectUnknownFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="InvalidTopicExpressionFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="InvalidTopicExpressionFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="TopicNotSupportedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="TopicNotSupportedFault"
>> />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="NoCurrentMessageOnTopicFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="NoCurrentMessageOnTopicFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="MultipleTopicsSpecifiedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="MultipleTopicsSpecifiedFault" />
>>>
>>> </wsdl:fault>
>>>
>>> </wsdl:operation>
>>>
>>> </wsdl:binding>
>>>
>>>
>>>
>>>
>>>
>>> <wsdl:service name="WsResourceService">
>>>
>>> <wsdl:port name="NotificationBrokerPort"
>>> binding="tns:NotificationBrokerBinding">
>>>
>>> <wsdl-soap:address
>>> location="http://localhost:9090/wsn-producer/services/WsResource"/>
>>>
>>> </wsdl:port>
>>>
>>> </wsdl:service>
>>>
>>> </wsdl:definitions>
>>>
>>>
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28435501
>> .html
>> Sent from the Muse User mailing list archive at Nabble.com.
>>
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28444717.html
> Sent from the Muse User mailing list archive at Nabble.com.
>
>
>
--
View this message in context: http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28446378.html
Sent from the Muse User mailing list archive at Nabble.com.
Re: AW: AW: Error in wsdl parsing wsdl2java.sh
Posted by Agustin1984 <ja...@hotmail.com>.
what is this?
Konrad Krentz wrote:
>
> <binding name="NotificationProducerBinding"
> type="tns:NotificationProducerPortType">
> <soap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http"/>
>
> <wsaw:UsingAddressing/>
> <wsp:PolicyReference URI="#AddressingPolicy"/>
>
> <!-- WS-ResourceProperties -->
>
> <operation name="GetResourcePropertyDocument">
> <soap:operation
> soapAction="http://docs.oasis-open.org/wsrf/rpw-2/GetResourcePropertyDocument/GetResourcePropertyDocumentRequest"/>
>
> <input>
> <soap:body use="literal"/>
> </input>
>
> <output>
> <soap:body use="literal"/>
> </output>
>
> <fault name="ResourceUnknownFault">
> <soap:fault name="ResourceUnknownFault"/>
> </fault>
>
> <fault name="ResourceUnavailableFault">
> <soap:fault name="ResourceUnavailableFault"/>
> </fault>
> </operation>
>
> -----Ursprüngliche Nachricht-----
> Von: Agustin1984 [mailto:jamesdean84@hotmail.com]
> Gesendet: Dienstag, 4. Mai 2010 10:54
> An: muse-user@ws.apache.org
> Betreff: Re: AW: Error in wsdl parsing wsdl2java.sh
>
>
> I tried to modify all things that you say to me but I receive the same
> error.
> In particular I made the correction obtaining the following bind and
> Notify
> operation
>
> <wsdl:binding name="NotificationBrokerBinding"
>
> type="tns:NotificationBroker">
>
> <wsdl-soap:binding style="rpc"
>
> transport="http://schemas.xmlsoap.org/soap/http" />
>
> <wsdl:operation name="Notify">
>
> <wsdl-soap:operation soapAction="Notify" style="rpc"/>
>
> <wsdl:input >
>
> <wsdl-soap:body use="literal" />
>
> </wsdl:input>
>
> </wsdl:operation>
>
> ....
>
> </wsdl:binding>
>
>
>
> Konrad Krentz wrote:
>>
>> I think you should write use="literal" everywhere in your binding. In
>> case
>> of faults, I'm pretty sure that literal is the default, so you can leave
>> it
>> out there.
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Agustin1984 [mailto:jamesdean84@hotmail.com]
>> Gesendet: Montag, 3. Mai 2010 16:02
>> An: muse-user@ws.apache.org
>> Betreff: Re: Error in wsdl parsing wsdl2java.sh
>>
>>
>> Can you help me, I have your same problem, the same error, but I'have not
>> Understood how you have resolved this problem.
>>
>> I'm implementing the ws-brokered notification, have you implemented it?
>>
>> best regards
>> thanks
>>
>>
>>
>> alfredo.s.g_uam_spain wrote:
>>>
>>> I got this error during code generation, but i think all is well
>>> defined..
>>> what is wrong??
>>>
>>>
>>> An exception was caught: [ID = 'NotDocLiteral'] The WSDL operation
>>> 'Notify' is not doc-literal because it defines a message with more than
>>> one message part for its SOAP Body. The SOAP Body of a doc-literal
>>> message
>>> should contain one root request element (with the operation name) with
>>> zero or more child elements (the parameters).
>>>
>>> What does not doc-literal mean???
>>>
>>> in this wsdl:
>>>
>>>
>>>
>>>
>>> <wsdl:definitions name="WS-BrokeredNotification"
>>>
>>> targetNamespace="http://ws.apache.org/muse/test/wsrf"
>>> xmlns:tns="http://ws.apache.org/muse/test/wsrf"
>>>
>>> xmlns="http://schemas.xmlsoap.org/wsdl/"
>>>
>>> xmlns:wsa="http://www.w3.org/2005/08/addressing"
>>>
>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>
>>> xmlns:wsdl-soap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>
>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>>
>>> xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
>>>
>>> xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
>>>
>>> xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2"
>>>
>>> xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
>>>
>>> xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"
>>>
>>> xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
>>>
>>> xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2"
>>>
>>> xmlns:wst="http://docs.oasis-open.org/wsn/t-1"
>>>
>>> xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1"
>>>
>>> xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
>>>
>>> xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd"
>>>
>>>
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>
>>> xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2"
>>>
>>> xmlns:wsn-brw="http://docs.oasis-open.org/wsn/brw-2"
>>>
>>> xmlns:wsn-b="http://docs.oasis-open.org/wsn/b-2"
>>>
>>> xmlns:wsn-bw="http://docs.oasis-open.org/wsn/bw-2"
>>>
>>> xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" >
>>>
>>>
>>>
>>> <wsdl:types>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://www.w3.org/2005/08/addressing">
>>>
>>> <xsd:include
>> schemaLocation="WS-Addressing-2005_08.xsd"/>
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex">
>>>
>>> <xsd:include
>> schemaLocation="WS-MetadataExchange-2004_09.xsd"/>
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/rl-2">
>>>
>>> <xsd:include
>> schemaLocation="WS-ResourceLifetime-1_2.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/rp-2">
>>>
>>> <xsd:include
>> schemaLocation="WS-ResourceProperties-1_2.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/r-2">
>>>
>>> <xsd:include schemaLocation="WS-Resource-1_2.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/rmd-1">
>>>
>>> <xsd:include
>> schemaLocation="WS-ResourceMetadataDescriptor-CD-01.xsd"
>>> />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd">
>>>
>>> <xsd:include
>> schemaLocation="WSDM-MUWS-Part1-1_1.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsdm/muws2-2.xsd">
>>>
>>> <xsd:include
>> schemaLocation="WSDM-MUWS-Part2-1_1.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsn/b-2">
>>>
>>> <xsd:include
>> schemaLocation="WS-BaseNotification-1_3.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsn/t-1">
>>>
>>> <xsd:include schemaLocation="WS-Topics-1_3.xsd" />
>>>
>>> </xsd:schema>
>>> </wsdl:types>
>>>
>>> <!-- ========================== Imports =========================== -->
>>>
>>> <wsdl:import namespace="http://docs.oasis-open.org/wsrf/rw-2"
>>>
>>> location="http://docs.oasis-open.org/wsrf/rw-2.wsdl"/>
>>>
>>>
>>>
>>> <wsdl:import namespace="http://docs.oasis-open.org/wsn/bw-2"
>>>
>>> location="http://docs.oasis-open.org/wsn/bw-2.wsdl"/>
>>>
>>>
>>>
>>> <!-- ===================== Types Definitions ====================== -->
>>>
>>> <wsdl:types>
>>>
>>> <xsd:schema>
>>>
>>> <xsd:import
>>>
>>> namespace="http://docs.oasis-open.org/wsn/br-2"
>>>
>>> schemaLocation="http://docs.oasis-open.org/wsn/br-2.xsd"/>
>>>
>>> </xsd:schema>
>>>
>>> </wsdl:types>
>>>
>>>
>>>
>>> <!-- ========== NotificationBroker::RegisterPublisher =============
>>>
>>> RegisterPublisher(PublisherReference, TopicExpression* ,
>>>
>>> [Demand], [InitialTerminationTime])
>>>
>>> returns: WS-Resource qualified EPR to a PublisherRegistration -->
>>>
>>> <wsdl:message name="RegisterPublisherRequest">
>>>
>>> <wsdl:part name="RegisterPublisherRequest"
>>>
>>> element="wsn-br:RegisterPublisher"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="RegisterPublisherResponse">
>>>
>>> <wsdl:part name="RegisterPublisherResponse"
>>>
>>> element="wsn-br:RegisterPublisherResponse"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="PublisherRegistrationRejectedFault">
>>>
>>> <wsdl:part name="PublisherRegistrationRejectedFault"
>>>
>>> element="wsn-br:PublisherRegistrationRejectedFault"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="PublisherRegistrationFailedFault">
>>>
>>> <wsdl:part name="PublisherRegistrationFailedFault"
>>>
>>> element="wsn-br:PublisherRegistrationFailedFault"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="DestroyRegistrationRequest">
>>>
>>> <wsdl:part name="DestroyRegistrationRequest"
>>>
>>> element="wsn-br:DestroyRegistration"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="DestroyRegistrationResponse">
>>>
>>> <wsdl:part name="DestroyRegistrationResponse"
>>>
>>> element="wsn-br:DestroyRegistrationResponse"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="ResourceNotDestroyedFault">
>>>
>>> <wsdl:part name="ResourceNotDestroyedFault"
>>>
>>> element="wsn-br:ResourceNotDestroyedFault"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <!-- =================== PortType Definitions ===================== -->
>>>
>>>
>>> <!-- ========== NotificationBroker PortType Definition ============ -->
>>>
>>> <wsdl:portType name="NotificationBroker">
>>>
>>> <!-- ============= extends NotificationConsumer ============= -->
>>>
>>> <wsdl:operation name="Notify">
>>>
>>> <wsdl:input message="wsn-bw:Notify" />
>>>
>>> </wsdl:operation>
>>>
>>>
>>>
>>> <!-- ============= extends NotificationProducer ============= -->
>>>
>>> <wsdl:operation name="Subscribe">
>>>
>>> <wsdl:input message="wsn-bw:SubscribeRequest" />
>>>
>>> <wsdl:output message="wsn-bw:SubscribeResponse" />
>>>
>>> <wsdl:fault name="ResourceUnknownFault"
>>>
>>> message="wsrf-rw:ResourceUnknownFault" />
>>>
>>> <wsdl:fault name="InvalidFilterFault"
>>>
>>> message="wsn-bw:InvalidFilterFault"/>
>>>
>>> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>>>
>>> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>>>
>>> <wsdl:fault name="InvalidTopicExpressionFault"
>>>
>>> message="wsn-bw:InvalidTopicExpressionFault" />
>>>
>>> <wsdl:fault name="TopicNotSupportedFault"
>>>
>>> message="wsn-bw:TopicNotSupportedFault" />
>>>
>>> <wsdl:fault name="InvalidProducerPropertiesExpressionFault"
>>>
>>> message="wsn-bw:InvalidProducerPropertiesExpressionFault"/>
>>>
>>> <wsdl:fault name="InvalidMessageContentExpressionFault"
>>>
>>> message="wsn-bw:InvalidMessageContentExpressionFault"/>
>>>
>>> <wsdl:fault name="UnacceptableInitialTerminationTimeFault"
>>>
>>> message="wsn-bw:UnacceptableInitialTerminationTimeFault"/>
>>>
>>> <wsdl:fault name="UnrecognizedPolicyRequestFault"
>>>
>>> message="wsn-bw:UnrecognizedPolicyRequestFault"/>
>>>
>>> <wsdl:fault name="UnsupportedPolicyRequestFault"
>>>
>>> message="wsn-bw:UnsupportedPolicyRequestFault"/>
>>>
>>> <wsdl:fault name="NotifyMessageNotSupportedFault"
>>>
>>> message="wsn-bw:NotifyMessageNotSupportedFault"/>
>>>
>>> <wsdl:fault name="SubscribeCreationFailedFault"
>>>
>>> message="wsn-bw:SubscribeCreationFailedFault"/>
>>>
>>> </wsdl:operation>
>>>
>>> <wsdl:operation name="GetCurrentMessage">
>>>
>>> <wsdl:input message="wsn-bw:GetCurrentMessageRequest"/>
>>>
>>> <wsdl:output message="wsn-bw:GetCurrentMessageResponse"/>
>>>
>>> <wsdl:fault name="ResourceUnknownFault"
>>>
>>> message="wsrf-rw:ResourceUnknownFault"/>
>>>
>>> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>>>
>>> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>>>
>>> <wsdl:fault name="InvalidTopicExpressionFault"
>>>
>>> message="wsn-bw:InvalidTopicExpressionFault"/>
>>>
>>> <wsdl:fault name="TopicNotSupportedFault"
>>>
>>> message="wsn-bw:TopicNotSupportedFault"/>
>>>
>>> <wsdl:fault name="NoCurrentMessageOnTopicFault"
>>>
>>> message="wsn-bw:NoCurrentMessageOnTopicFault"/>
>>>
>>> <wsdl:fault name="MultipleTopicsSpecifiedFault"
>>>
>>> message="wsn-bw:MultipleTopicsSpecifiedFault"/>
>>>
>>> </wsdl:operation>
>>>
>>>
>>>
>>> <!-- ========= extends RegisterPublisher ======= -->
>>>
>>>
>>>
>>> </wsdl:portType>
>>>
>>>
>>>
>>> <wsdl:binding name="NotificationBrokerBinding"
>>> type="tns:NotificationBroker">
>>>
>>> <wsdl-soap:binding style="document"
>>> transport="http://schemas.xmlsoap.org/soap/http" />
>>>
>>>
>>> <wsdl:operation name="Notify">
>>> <wsdl-soap:operation soapAction="Notify"/>
>>> <wsdl:input>
>>> <wsdl-soap:body
>>> use="encoded"
>>>
>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>>>
>>> </wsdl:input>
>>> <wsdl:output>
>>>
>>> <wsdl-soap:body
>>>
>>> use="encoded"
>>>
>>>
>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>>>
>>> </wsdl:output>
>>> </wsdl:operation>
>>>
>>>
>>>
>>>
>>> <wsdl:operation name="Subscribe">
>>>
>>> <wsdl-soap:operation
>>>
>>>
>> soapAction="http://ws.apache.org/muse/test/wsrf/Subscribe" />
>>>
>>> <wsdl:input>
>>>
>>> <wsdl-soap:body use="encoded" />
>>>
>>> </wsdl:input>
>>>
>>> <wsdl:output>
>>>
>>> <wsdl-soap:body use="encoded" />
>>>
>>> </wsdl:output>
>>>
>>> <wsdl:fault name="ResourceUnknownFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="ResourceUnknownFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="InvalidFilterFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="InvalidFilterFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="TopicExpressionDialectUnknownFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="InvalidTopicExpressionFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="InvalidTopicExpressionFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="TopicNotSupportedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="TopicNotSupportedFault"
>> />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault
>>>
>>> name="InvalidProducerPropertiesExpressionFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>>>
>>>
>> name="InvalidProducerPropertiesExpressionFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="InvalidMessageContentExpressionFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="InvalidMessageContentExpressionFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault
>>>
>>> name="UnacceptableInitialTerminationTimeFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="UnacceptableInitialTerminationTimeFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="UnrecognizedPolicyRequestFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="UnrecognizedPolicyRequestFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="UnsupportedPolicyRequestFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="UnsupportedPolicyRequestFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="NotifyMessageNotSupportedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="NotifyMessageNotSupportedFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="SubscribeCreationFailedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="SubscribeCreationFailedFault" />
>>>
>>> </wsdl:fault>
>>>
>>> </wsdl:operation>
>>>
>>>
>>> <wsdl:operation name="GetCurrentMessage">
>>>
>>> <wsdl-soap:operation
>>>
>>>
>>> soapAction="http://ws.apache.org/muse/test/wsrf/GetCurrentMessage"/>
>>>
>>> <wsdl:input>
>>>
>>> <wsdl-soap:body use="encoded" />
>>>
>>> </wsdl:input>
>>>
>>> <wsdl:output>
>>>
>>> <wsdl-soap:body use="encoded" />
>>>
>>> </wsdl:output>
>>>
>>> <wsdl:fault name="ResourceUnknownFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="ResourceUnknownFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="TopicExpressionDialectUnknownFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="InvalidTopicExpressionFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="InvalidTopicExpressionFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="TopicNotSupportedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="TopicNotSupportedFault"
>> />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="NoCurrentMessageOnTopicFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="NoCurrentMessageOnTopicFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="MultipleTopicsSpecifiedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="MultipleTopicsSpecifiedFault" />
>>>
>>> </wsdl:fault>
>>>
>>> </wsdl:operation>
>>>
>>> </wsdl:binding>
>>>
>>>
>>>
>>>
>>>
>>> <wsdl:service name="WsResourceService">
>>>
>>> <wsdl:port name="NotificationBrokerPort"
>>> binding="tns:NotificationBrokerBinding">
>>>
>>> <wsdl-soap:address
>>> location="http://localhost:9090/wsn-producer/services/WsResource"/>
>>>
>>> </wsdl:port>
>>>
>>> </wsdl:service>
>>>
>>> </wsdl:definitions>
>>>
>>>
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28435501
>> .html
>> Sent from the Muse User mailing list archive at Nabble.com.
>>
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28444717.html
> Sent from the Muse User mailing list archive at Nabble.com.
>
>
>
--
View this message in context: http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28445207.html
Sent from the Muse User mailing list archive at Nabble.com.
AW: AW: Error in wsdl parsing wsdl2java.sh
Posted by Konrad Krentz <ko...@googlemail.com>.
<binding name="NotificationProducerBinding"
type="tns:NotificationProducerPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsaw:UsingAddressing/>
<wsp:PolicyReference URI="#AddressingPolicy"/>
<!-- WS-ResourceProperties -->
<operation name="GetResourcePropertyDocument">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/rpw-2/GetResourcePropertyDocument/GetResourcePropertyDocumentRequest"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault"/>
</fault>
<fault name="ResourceUnavailableFault">
<soap:fault name="ResourceUnavailableFault"/>
</fault>
</operation>
-----Ursprüngliche Nachricht-----
Von: Agustin1984 [mailto:jamesdean84@hotmail.com]
Gesendet: Dienstag, 4. Mai 2010 10:54
An: muse-user@ws.apache.org
Betreff: Re: AW: Error in wsdl parsing wsdl2java.sh
I tried to modify all things that you say to me but I receive the same error.
In particular I made the correction obtaining the following bind and Notify
operation
<wsdl:binding name="NotificationBrokerBinding"
type="tns:NotificationBroker">
<wsdl-soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="Notify">
<wsdl-soap:operation soapAction="Notify" style="rpc"/>
<wsdl:input >
<wsdl-soap:body use="literal" />
</wsdl:input>
</wsdl:operation>
....
</wsdl:binding>
Konrad Krentz wrote:
>
> I think you should write use="literal" everywhere in your binding. In case
> of faults, I'm pretty sure that literal is the default, so you can leave
> it
> out there.
>
> -----Ursprüngliche Nachricht-----
> Von: Agustin1984 [mailto:jamesdean84@hotmail.com]
> Gesendet: Montag, 3. Mai 2010 16:02
> An: muse-user@ws.apache.org
> Betreff: Re: Error in wsdl parsing wsdl2java.sh
>
>
> Can you help me, I have your same problem, the same error, but I'have not
> Understood how you have resolved this problem.
>
> I'm implementing the ws-brokered notification, have you implemented it?
>
> best regards
> thanks
>
>
>
> alfredo.s.g_uam_spain wrote:
>>
>> I got this error during code generation, but i think all is well
>> defined..
>> what is wrong??
>>
>>
>> An exception was caught: [ID = 'NotDocLiteral'] The WSDL operation
>> 'Notify' is not doc-literal because it defines a message with more than
>> one message part for its SOAP Body. The SOAP Body of a doc-literal
>> message
>> should contain one root request element (with the operation name) with
>> zero or more child elements (the parameters).
>>
>> What does not doc-literal mean???
>>
>> in this wsdl:
>>
>>
>>
>>
>> <wsdl:definitions name="WS-BrokeredNotification"
>>
>> targetNamespace="http://ws.apache.org/muse/test/wsrf"
>> xmlns:tns="http://ws.apache.org/muse/test/wsrf"
>>
>> xmlns="http://schemas.xmlsoap.org/wsdl/"
>>
>> xmlns:wsa="http://www.w3.org/2005/08/addressing"
>>
>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>
>> xmlns:wsdl-soap="http://schemas.xmlsoap.org/wsdl/soap/"
>>
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>
>> xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
>>
>> xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
>>
>> xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2"
>>
>> xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
>>
>> xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"
>>
>> xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
>>
>> xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2"
>>
>> xmlns:wst="http://docs.oasis-open.org/wsn/t-1"
>>
>> xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1"
>>
>> xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
>>
>> xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd"
>>
>>
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>
>> xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2"
>>
>> xmlns:wsn-brw="http://docs.oasis-open.org/wsn/brw-2"
>>
>> xmlns:wsn-b="http://docs.oasis-open.org/wsn/b-2"
>>
>> xmlns:wsn-bw="http://docs.oasis-open.org/wsn/bw-2"
>>
>> xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" >
>>
>>
>>
>> <wsdl:types>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://www.w3.org/2005/08/addressing">
>>
>> <xsd:include
> schemaLocation="WS-Addressing-2005_08.xsd"/>
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex">
>>
>> <xsd:include
> schemaLocation="WS-MetadataExchange-2004_09.xsd"/>
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsrf/rl-2">
>>
>> <xsd:include
> schemaLocation="WS-ResourceLifetime-1_2.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsrf/rp-2">
>>
>> <xsd:include
> schemaLocation="WS-ResourceProperties-1_2.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsrf/r-2">
>>
>> <xsd:include schemaLocation="WS-Resource-1_2.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsrf/rmd-1">
>>
>> <xsd:include
> schemaLocation="WS-ResourceMetadataDescriptor-CD-01.xsd"
>> />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd">
>>
>> <xsd:include
> schemaLocation="WSDM-MUWS-Part1-1_1.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsdm/muws2-2.xsd">
>>
>> <xsd:include
> schemaLocation="WSDM-MUWS-Part2-1_1.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsn/b-2">
>>
>> <xsd:include
> schemaLocation="WS-BaseNotification-1_3.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsn/t-1">
>>
>> <xsd:include schemaLocation="WS-Topics-1_3.xsd" />
>>
>> </xsd:schema>
>> </wsdl:types>
>>
>> <!-- ========================== Imports =========================== -->
>>
>> <wsdl:import namespace="http://docs.oasis-open.org/wsrf/rw-2"
>>
>> location="http://docs.oasis-open.org/wsrf/rw-2.wsdl"/>
>>
>>
>>
>> <wsdl:import namespace="http://docs.oasis-open.org/wsn/bw-2"
>>
>> location="http://docs.oasis-open.org/wsn/bw-2.wsdl"/>
>>
>>
>>
>> <!-- ===================== Types Definitions ====================== -->
>>
>> <wsdl:types>
>>
>> <xsd:schema>
>>
>> <xsd:import
>>
>> namespace="http://docs.oasis-open.org/wsn/br-2"
>>
>> schemaLocation="http://docs.oasis-open.org/wsn/br-2.xsd"/>
>>
>> </xsd:schema>
>>
>> </wsdl:types>
>>
>>
>>
>> <!-- ========== NotificationBroker::RegisterPublisher =============
>>
>> RegisterPublisher(PublisherReference, TopicExpression* ,
>>
>> [Demand], [InitialTerminationTime])
>>
>> returns: WS-Resource qualified EPR to a PublisherRegistration -->
>>
>> <wsdl:message name="RegisterPublisherRequest">
>>
>> <wsdl:part name="RegisterPublisherRequest"
>>
>> element="wsn-br:RegisterPublisher"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="RegisterPublisherResponse">
>>
>> <wsdl:part name="RegisterPublisherResponse"
>>
>> element="wsn-br:RegisterPublisherResponse"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="PublisherRegistrationRejectedFault">
>>
>> <wsdl:part name="PublisherRegistrationRejectedFault"
>>
>> element="wsn-br:PublisherRegistrationRejectedFault"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="PublisherRegistrationFailedFault">
>>
>> <wsdl:part name="PublisherRegistrationFailedFault"
>>
>> element="wsn-br:PublisherRegistrationFailedFault"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="DestroyRegistrationRequest">
>>
>> <wsdl:part name="DestroyRegistrationRequest"
>>
>> element="wsn-br:DestroyRegistration"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="DestroyRegistrationResponse">
>>
>> <wsdl:part name="DestroyRegistrationResponse"
>>
>> element="wsn-br:DestroyRegistrationResponse"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="ResourceNotDestroyedFault">
>>
>> <wsdl:part name="ResourceNotDestroyedFault"
>>
>> element="wsn-br:ResourceNotDestroyedFault"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <!-- =================== PortType Definitions ===================== -->
>>
>>
>> <!-- ========== NotificationBroker PortType Definition ============ -->
>>
>> <wsdl:portType name="NotificationBroker">
>>
>> <!-- ============= extends NotificationConsumer ============= -->
>>
>> <wsdl:operation name="Notify">
>>
>> <wsdl:input message="wsn-bw:Notify" />
>>
>> </wsdl:operation>
>>
>>
>>
>> <!-- ============= extends NotificationProducer ============= -->
>>
>> <wsdl:operation name="Subscribe">
>>
>> <wsdl:input message="wsn-bw:SubscribeRequest" />
>>
>> <wsdl:output message="wsn-bw:SubscribeResponse" />
>>
>> <wsdl:fault name="ResourceUnknownFault"
>>
>> message="wsrf-rw:ResourceUnknownFault" />
>>
>> <wsdl:fault name="InvalidFilterFault"
>>
>> message="wsn-bw:InvalidFilterFault"/>
>>
>> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>>
>> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>>
>> <wsdl:fault name="InvalidTopicExpressionFault"
>>
>> message="wsn-bw:InvalidTopicExpressionFault" />
>>
>> <wsdl:fault name="TopicNotSupportedFault"
>>
>> message="wsn-bw:TopicNotSupportedFault" />
>>
>> <wsdl:fault name="InvalidProducerPropertiesExpressionFault"
>>
>> message="wsn-bw:InvalidProducerPropertiesExpressionFault"/>
>>
>> <wsdl:fault name="InvalidMessageContentExpressionFault"
>>
>> message="wsn-bw:InvalidMessageContentExpressionFault"/>
>>
>> <wsdl:fault name="UnacceptableInitialTerminationTimeFault"
>>
>> message="wsn-bw:UnacceptableInitialTerminationTimeFault"/>
>>
>> <wsdl:fault name="UnrecognizedPolicyRequestFault"
>>
>> message="wsn-bw:UnrecognizedPolicyRequestFault"/>
>>
>> <wsdl:fault name="UnsupportedPolicyRequestFault"
>>
>> message="wsn-bw:UnsupportedPolicyRequestFault"/>
>>
>> <wsdl:fault name="NotifyMessageNotSupportedFault"
>>
>> message="wsn-bw:NotifyMessageNotSupportedFault"/>
>>
>> <wsdl:fault name="SubscribeCreationFailedFault"
>>
>> message="wsn-bw:SubscribeCreationFailedFault"/>
>>
>> </wsdl:operation>
>>
>> <wsdl:operation name="GetCurrentMessage">
>>
>> <wsdl:input message="wsn-bw:GetCurrentMessageRequest"/>
>>
>> <wsdl:output message="wsn-bw:GetCurrentMessageResponse"/>
>>
>> <wsdl:fault name="ResourceUnknownFault"
>>
>> message="wsrf-rw:ResourceUnknownFault"/>
>>
>> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>>
>> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>>
>> <wsdl:fault name="InvalidTopicExpressionFault"
>>
>> message="wsn-bw:InvalidTopicExpressionFault"/>
>>
>> <wsdl:fault name="TopicNotSupportedFault"
>>
>> message="wsn-bw:TopicNotSupportedFault"/>
>>
>> <wsdl:fault name="NoCurrentMessageOnTopicFault"
>>
>> message="wsn-bw:NoCurrentMessageOnTopicFault"/>
>>
>> <wsdl:fault name="MultipleTopicsSpecifiedFault"
>>
>> message="wsn-bw:MultipleTopicsSpecifiedFault"/>
>>
>> </wsdl:operation>
>>
>>
>>
>> <!-- ========= extends RegisterPublisher ======= -->
>>
>>
>>
>> </wsdl:portType>
>>
>>
>>
>> <wsdl:binding name="NotificationBrokerBinding"
>> type="tns:NotificationBroker">
>>
>> <wsdl-soap:binding style="document"
>> transport="http://schemas.xmlsoap.org/soap/http" />
>>
>>
>> <wsdl:operation name="Notify">
>> <wsdl-soap:operation soapAction="Notify"/>
>> <wsdl:input>
>> <wsdl-soap:body
>> use="encoded"
>>
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>>
>> </wsdl:input>
>> <wsdl:output>
>>
>> <wsdl-soap:body
>>
>> use="encoded"
>>
>>
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>>
>> </wsdl:output>
>> </wsdl:operation>
>>
>>
>>
>>
>> <wsdl:operation name="Subscribe">
>>
>> <wsdl-soap:operation
>>
>>
> soapAction="http://ws.apache.org/muse/test/wsrf/Subscribe" />
>>
>> <wsdl:input>
>>
>> <wsdl-soap:body use="encoded" />
>>
>> </wsdl:input>
>>
>> <wsdl:output>
>>
>> <wsdl-soap:body use="encoded" />
>>
>> </wsdl:output>
>>
>> <wsdl:fault name="ResourceUnknownFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded" name="ResourceUnknownFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="InvalidFilterFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded" name="InvalidFilterFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="TopicExpressionDialectUnknownFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="InvalidTopicExpressionFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="InvalidTopicExpressionFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="TopicNotSupportedFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded" name="TopicNotSupportedFault"
> />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault
>>
>> name="InvalidProducerPropertiesExpressionFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>>
>>
> name="InvalidProducerPropertiesExpressionFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="InvalidMessageContentExpressionFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="InvalidMessageContentExpressionFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault
>>
>> name="UnacceptableInitialTerminationTimeFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="UnacceptableInitialTerminationTimeFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="UnrecognizedPolicyRequestFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="UnrecognizedPolicyRequestFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="UnsupportedPolicyRequestFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="UnsupportedPolicyRequestFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="NotifyMessageNotSupportedFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="NotifyMessageNotSupportedFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="SubscribeCreationFailedFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="SubscribeCreationFailedFault" />
>>
>> </wsdl:fault>
>>
>> </wsdl:operation>
>>
>>
>> <wsdl:operation name="GetCurrentMessage">
>>
>> <wsdl-soap:operation
>>
>>
>> soapAction="http://ws.apache.org/muse/test/wsrf/GetCurrentMessage"/>
>>
>> <wsdl:input>
>>
>> <wsdl-soap:body use="encoded" />
>>
>> </wsdl:input>
>>
>> <wsdl:output>
>>
>> <wsdl-soap:body use="encoded" />
>>
>> </wsdl:output>
>>
>> <wsdl:fault name="ResourceUnknownFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded" name="ResourceUnknownFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="TopicExpressionDialectUnknownFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="InvalidTopicExpressionFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="InvalidTopicExpressionFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="TopicNotSupportedFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded" name="TopicNotSupportedFault"
> />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="NoCurrentMessageOnTopicFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="NoCurrentMessageOnTopicFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="MultipleTopicsSpecifiedFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="MultipleTopicsSpecifiedFault" />
>>
>> </wsdl:fault>
>>
>> </wsdl:operation>
>>
>> </wsdl:binding>
>>
>>
>>
>>
>>
>> <wsdl:service name="WsResourceService">
>>
>> <wsdl:port name="NotificationBrokerPort"
>> binding="tns:NotificationBrokerBinding">
>>
>> <wsdl-soap:address
>> location="http://localhost:9090/wsn-producer/services/WsResource"/>
>>
>> </wsdl:port>
>>
>> </wsdl:service>
>>
>> </wsdl:definitions>
>>
>>
>>
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28435501
> .html
> Sent from the Muse User mailing list archive at Nabble.com.
>
>
>
--
View this message in context: http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28444717.html
Sent from the Muse User mailing list archive at Nabble.com.
Re: AW: AW: Error in wsdl parsing wsdl2java.sh
Posted by Agustin1984 <ja...@hotmail.com>.
I made the vollowing modifications but the resul is the same, I attach my
wsdl file you can pass it in wsdl2java tool and verify this error.
If I understand well the error, it say that the operation "Notify" can not
be document/literal because define message that have more than zero parts
thanks
Agustin
<wsdl-soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
Konrad Krentz wrote:
>
> I see another thing that cannot be right ... write style="document" ;)
>
> <wsdl:operation name="Notify">
>
> <wsdl-soap:operation soapAction="Notify" style="document"/>
>
> <wsdl:input >
>
> <wsdl-soap:body use="encoded"
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
>
> </wsdl:input>
>
> </wsdl:operation>
> ....
>
> </wsdl:binding>
>
>
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Agustin1984 [mailto:jamesdean84@hotmail.com]
> Gesendet: Dienstag, 4. Mai 2010 10:54
> An: muse-user@ws.apache.org
> Betreff: Re: AW: Error in wsdl parsing wsdl2java.sh
>
>
> I tried to modify all things that you say to me but I receive the same
> error.
> In particular I made the correction obtaining the following bind and
> Notify
> operation
>
> <wsdl:binding name="NotificationBrokerBinding"
>
> type="tns:NotificationBroker">
>
> <wsdl-soap:binding style="rpc"
>
> transport="http://schemas.xmlsoap.org/soap/http" />
>
> <wsdl:operation name="Notify">
>
> <wsdl-soap:operation soapAction="Notify" style="rpc"/>
>
> <wsdl:input >
>
> <wsdl-soap:body use="literal" />
>
> </wsdl:input>
>
> </wsdl:operation>
>
> ....
>
> </wsdl:binding>
>
>
>
> Konrad Krentz wrote:
>>
>> I think you should write use="literal" everywhere in your binding. In
>> case
>> of faults, I'm pretty sure that literal is the default, so you can leave
>> it
>> out there.
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Agustin1984 [mailto:jamesdean84@hotmail.com]
>> Gesendet: Montag, 3. Mai 2010 16:02
>> An: muse-user@ws.apache.org
>> Betreff: Re: Error in wsdl parsing wsdl2java.sh
>>
>>
>> Can you help me, I have your same problem, the same error, but I'have not
>> Understood how you have resolved this problem.
>>
>> I'm implementing the ws-brokered notification, have you implemented it?
>>
>> best regards
>> thanks
>>
>>
>>
>> alfredo.s.g_uam_spain wrote:
>>>
>>> I got this error during code generation, but i think all is well
>>> defined..
>>> what is wrong??
>>>
>>>
>>> An exception was caught: [ID = 'NotDocLiteral'] The WSDL operation
>>> 'Notify' is not doc-literal because it defines a message with more than
>>> one message part for its SOAP Body. The SOAP Body of a doc-literal
>>> message
>>> should contain one root request element (with the operation name) with
>>> zero or more child elements (the parameters).
>>>
>>> What does not doc-literal mean???
>>>
>>> in this wsdl:
>>>
>>>
>>>
>>>
>>> <wsdl:definitions name="WS-BrokeredNotification"
>>>
>>> targetNamespace="http://ws.apache.org/muse/test/wsrf"
>>> xmlns:tns="http://ws.apache.org/muse/test/wsrf"
>>>
>>> xmlns="http://schemas.xmlsoap.org/wsdl/"
>>>
>>> xmlns:wsa="http://www.w3.org/2005/08/addressing"
>>>
>>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>>
>>> xmlns:wsdl-soap="http://schemas.xmlsoap.org/wsdl/soap/"
>>>
>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>>
>>> xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
>>>
>>> xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
>>>
>>> xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2"
>>>
>>> xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
>>>
>>> xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"
>>>
>>> xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
>>>
>>> xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2"
>>>
>>> xmlns:wst="http://docs.oasis-open.org/wsn/t-1"
>>>
>>> xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1"
>>>
>>> xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
>>>
>>> xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd"
>>>
>>>
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>
>>> xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2"
>>>
>>> xmlns:wsn-brw="http://docs.oasis-open.org/wsn/brw-2"
>>>
>>> xmlns:wsn-b="http://docs.oasis-open.org/wsn/b-2"
>>>
>>> xmlns:wsn-bw="http://docs.oasis-open.org/wsn/bw-2"
>>>
>>> xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" >
>>>
>>>
>>>
>>> <wsdl:types>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://www.w3.org/2005/08/addressing">
>>>
>>> <xsd:include
>> schemaLocation="WS-Addressing-2005_08.xsd"/>
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex">
>>>
>>> <xsd:include
>> schemaLocation="WS-MetadataExchange-2004_09.xsd"/>
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/rl-2">
>>>
>>> <xsd:include
>> schemaLocation="WS-ResourceLifetime-1_2.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/rp-2">
>>>
>>> <xsd:include
>> schemaLocation="WS-ResourceProperties-1_2.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/r-2">
>>>
>>> <xsd:include schemaLocation="WS-Resource-1_2.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/rmd-1">
>>>
>>> <xsd:include
>> schemaLocation="WS-ResourceMetadataDescriptor-CD-01.xsd"
>>> />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd">
>>>
>>> <xsd:include
>> schemaLocation="WSDM-MUWS-Part1-1_1.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsdm/muws2-2.xsd">
>>>
>>> <xsd:include
>> schemaLocation="WSDM-MUWS-Part2-1_1.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsn/b-2">
>>>
>>> <xsd:include
>> schemaLocation="WS-BaseNotification-1_3.xsd" />
>>>
>>> </xsd:schema>
>>>
>>> <xsd:schema
>>>
>>> elementFormDefault="qualified"
>>>
>>>
>> targetNamespace="http://docs.oasis-open.org/wsn/t-1">
>>>
>>> <xsd:include schemaLocation="WS-Topics-1_3.xsd" />
>>>
>>> </xsd:schema>
>>> </wsdl:types>
>>>
>>> <!-- ========================== Imports =========================== -->
>>>
>>> <wsdl:import namespace="http://docs.oasis-open.org/wsrf/rw-2"
>>>
>>> location="http://docs.oasis-open.org/wsrf/rw-2.wsdl"/>
>>>
>>>
>>>
>>> <wsdl:import namespace="http://docs.oasis-open.org/wsn/bw-2"
>>>
>>> location="http://docs.oasis-open.org/wsn/bw-2.wsdl"/>
>>>
>>>
>>>
>>> <!-- ===================== Types Definitions ====================== -->
>>>
>>> <wsdl:types>
>>>
>>> <xsd:schema>
>>>
>>> <xsd:import
>>>
>>> namespace="http://docs.oasis-open.org/wsn/br-2"
>>>
>>> schemaLocation="http://docs.oasis-open.org/wsn/br-2.xsd"/>
>>>
>>> </xsd:schema>
>>>
>>> </wsdl:types>
>>>
>>>
>>>
>>> <!-- ========== NotificationBroker::RegisterPublisher =============
>>>
>>> RegisterPublisher(PublisherReference, TopicExpression* ,
>>>
>>> [Demand], [InitialTerminationTime])
>>>
>>> returns: WS-Resource qualified EPR to a PublisherRegistration -->
>>>
>>> <wsdl:message name="RegisterPublisherRequest">
>>>
>>> <wsdl:part name="RegisterPublisherRequest"
>>>
>>> element="wsn-br:RegisterPublisher"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="RegisterPublisherResponse">
>>>
>>> <wsdl:part name="RegisterPublisherResponse"
>>>
>>> element="wsn-br:RegisterPublisherResponse"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="PublisherRegistrationRejectedFault">
>>>
>>> <wsdl:part name="PublisherRegistrationRejectedFault"
>>>
>>> element="wsn-br:PublisherRegistrationRejectedFault"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="PublisherRegistrationFailedFault">
>>>
>>> <wsdl:part name="PublisherRegistrationFailedFault"
>>>
>>> element="wsn-br:PublisherRegistrationFailedFault"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="DestroyRegistrationRequest">
>>>
>>> <wsdl:part name="DestroyRegistrationRequest"
>>>
>>> element="wsn-br:DestroyRegistration"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="DestroyRegistrationResponse">
>>>
>>> <wsdl:part name="DestroyRegistrationResponse"
>>>
>>> element="wsn-br:DestroyRegistrationResponse"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <wsdl:message name="ResourceNotDestroyedFault">
>>>
>>> <wsdl:part name="ResourceNotDestroyedFault"
>>>
>>> element="wsn-br:ResourceNotDestroyedFault"/>
>>>
>>> </wsdl:message>
>>>
>>>
>>>
>>> <!-- =================== PortType Definitions ===================== -->
>>>
>>>
>>> <!-- ========== NotificationBroker PortType Definition ============ -->
>>>
>>> <wsdl:portType name="NotificationBroker">
>>>
>>> <!-- ============= extends NotificationConsumer ============= -->
>>>
>>> <wsdl:operation name="Notify">
>>>
>>> <wsdl:input message="wsn-bw:Notify" />
>>>
>>> </wsdl:operation>
>>>
>>>
>>>
>>> <!-- ============= extends NotificationProducer ============= -->
>>>
>>> <wsdl:operation name="Subscribe">
>>>
>>> <wsdl:input message="wsn-bw:SubscribeRequest" />
>>>
>>> <wsdl:output message="wsn-bw:SubscribeResponse" />
>>>
>>> <wsdl:fault name="ResourceUnknownFault"
>>>
>>> message="wsrf-rw:ResourceUnknownFault" />
>>>
>>> <wsdl:fault name="InvalidFilterFault"
>>>
>>> message="wsn-bw:InvalidFilterFault"/>
>>>
>>> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>>>
>>> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>>>
>>> <wsdl:fault name="InvalidTopicExpressionFault"
>>>
>>> message="wsn-bw:InvalidTopicExpressionFault" />
>>>
>>> <wsdl:fault name="TopicNotSupportedFault"
>>>
>>> message="wsn-bw:TopicNotSupportedFault" />
>>>
>>> <wsdl:fault name="InvalidProducerPropertiesExpressionFault"
>>>
>>> message="wsn-bw:InvalidProducerPropertiesExpressionFault"/>
>>>
>>> <wsdl:fault name="InvalidMessageContentExpressionFault"
>>>
>>> message="wsn-bw:InvalidMessageContentExpressionFault"/>
>>>
>>> <wsdl:fault name="UnacceptableInitialTerminationTimeFault"
>>>
>>> message="wsn-bw:UnacceptableInitialTerminationTimeFault"/>
>>>
>>> <wsdl:fault name="UnrecognizedPolicyRequestFault"
>>>
>>> message="wsn-bw:UnrecognizedPolicyRequestFault"/>
>>>
>>> <wsdl:fault name="UnsupportedPolicyRequestFault"
>>>
>>> message="wsn-bw:UnsupportedPolicyRequestFault"/>
>>>
>>> <wsdl:fault name="NotifyMessageNotSupportedFault"
>>>
>>> message="wsn-bw:NotifyMessageNotSupportedFault"/>
>>>
>>> <wsdl:fault name="SubscribeCreationFailedFault"
>>>
>>> message="wsn-bw:SubscribeCreationFailedFault"/>
>>>
>>> </wsdl:operation>
>>>
>>> <wsdl:operation name="GetCurrentMessage">
>>>
>>> <wsdl:input message="wsn-bw:GetCurrentMessageRequest"/>
>>>
>>> <wsdl:output message="wsn-bw:GetCurrentMessageResponse"/>
>>>
>>> <wsdl:fault name="ResourceUnknownFault"
>>>
>>> message="wsrf-rw:ResourceUnknownFault"/>
>>>
>>> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>>>
>>> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>>>
>>> <wsdl:fault name="InvalidTopicExpressionFault"
>>>
>>> message="wsn-bw:InvalidTopicExpressionFault"/>
>>>
>>> <wsdl:fault name="TopicNotSupportedFault"
>>>
>>> message="wsn-bw:TopicNotSupportedFault"/>
>>>
>>> <wsdl:fault name="NoCurrentMessageOnTopicFault"
>>>
>>> message="wsn-bw:NoCurrentMessageOnTopicFault"/>
>>>
>>> <wsdl:fault name="MultipleTopicsSpecifiedFault"
>>>
>>> message="wsn-bw:MultipleTopicsSpecifiedFault"/>
>>>
>>> </wsdl:operation>
>>>
>>>
>>>
>>> <!-- ========= extends RegisterPublisher ======= -->
>>>
>>>
>>>
>>> </wsdl:portType>
>>>
>>>
>>>
>>> <wsdl:binding name="NotificationBrokerBinding"
>>> type="tns:NotificationBroker">
>>>
>>> <wsdl-soap:binding style="document"
>>> transport="http://schemas.xmlsoap.org/soap/http" />
>>>
>>>
>>> <wsdl:operation name="Notify">
>>> <wsdl-soap:operation soapAction="Notify"/>
>>> <wsdl:input>
>>> <wsdl-soap:body
>>> use="encoded"
>>>
>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>>>
>>> </wsdl:input>
>>> <wsdl:output>
>>>
>>> <wsdl-soap:body
>>>
>>> use="encoded"
>>>
>>>
>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>>>
>>> </wsdl:output>
>>> </wsdl:operation>
>>>
>>>
>>>
>>>
>>> <wsdl:operation name="Subscribe">
>>>
>>> <wsdl-soap:operation
>>>
>>>
>> soapAction="http://ws.apache.org/muse/test/wsrf/Subscribe" />
>>>
>>> <wsdl:input>
>>>
>>> <wsdl-soap:body use="encoded" />
>>>
>>> </wsdl:input>
>>>
>>> <wsdl:output>
>>>
>>> <wsdl-soap:body use="encoded" />
>>>
>>> </wsdl:output>
>>>
>>> <wsdl:fault name="ResourceUnknownFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="ResourceUnknownFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="InvalidFilterFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="InvalidFilterFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="TopicExpressionDialectUnknownFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="InvalidTopicExpressionFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="InvalidTopicExpressionFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="TopicNotSupportedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="TopicNotSupportedFault"
>> />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault
>>>
>>> name="InvalidProducerPropertiesExpressionFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>>>
>>>
>> name="InvalidProducerPropertiesExpressionFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="InvalidMessageContentExpressionFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="InvalidMessageContentExpressionFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault
>>>
>>> name="UnacceptableInitialTerminationTimeFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="UnacceptableInitialTerminationTimeFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="UnrecognizedPolicyRequestFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="UnrecognizedPolicyRequestFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="UnsupportedPolicyRequestFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="UnsupportedPolicyRequestFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="NotifyMessageNotSupportedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="NotifyMessageNotSupportedFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="SubscribeCreationFailedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="SubscribeCreationFailedFault" />
>>>
>>> </wsdl:fault>
>>>
>>> </wsdl:operation>
>>>
>>>
>>> <wsdl:operation name="GetCurrentMessage">
>>>
>>> <wsdl-soap:operation
>>>
>>>
>>> soapAction="http://ws.apache.org/muse/test/wsrf/GetCurrentMessage"/>
>>>
>>> <wsdl:input>
>>>
>>> <wsdl-soap:body use="encoded" />
>>>
>>> </wsdl:input>
>>>
>>> <wsdl:output>
>>>
>>> <wsdl-soap:body use="encoded" />
>>>
>>> </wsdl:output>
>>>
>>> <wsdl:fault name="ResourceUnknownFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="ResourceUnknownFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="TopicExpressionDialectUnknownFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="InvalidTopicExpressionFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="InvalidTopicExpressionFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="TopicNotSupportedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded" name="TopicNotSupportedFault"
>> />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="NoCurrentMessageOnTopicFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="NoCurrentMessageOnTopicFault" />
>>>
>>> </wsdl:fault>
>>>
>>> <wsdl:fault name="MultipleTopicsSpecifiedFault">
>>>
>>> <wsdl-soap:fault
>>>
>>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>>
>>> use="encoded"
>> name="MultipleTopicsSpecifiedFault" />
>>>
>>> </wsdl:fault>
>>>
>>> </wsdl:operation>
>>>
>>> </wsdl:binding>
>>>
>>>
>>>
>>>
>>>
>>> <wsdl:service name="WsResourceService">
>>>
>>> <wsdl:port name="NotificationBrokerPort"
>>> binding="tns:NotificationBrokerBinding">
>>>
>>> <wsdl-soap:address
>>> location="http://localhost:9090/wsn-producer/services/WsResource"/>
>>>
>>> </wsdl:port>
>>>
>>> </wsdl:service>
>>>
>>> </wsdl:definitions>
>>>
>>>
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28435501
>> .html
>> Sent from the Muse User mailing list archive at Nabble.com.
>>
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28444717.html
> Sent from the Muse User mailing list archive at Nabble.com.
>
>
>
--
View this message in context: http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28445135.html
Sent from the Muse User mailing list archive at Nabble.com.
AW: AW: Error in wsdl parsing wsdl2java.sh
Posted by Konrad Krentz <ko...@googlemail.com>.
I see another thing that cannot be right ... write style="document" ;)
-----Ursprüngliche Nachricht-----
Von: Agustin1984 [mailto:jamesdean84@hotmail.com]
Gesendet: Dienstag, 4. Mai 2010 10:54
An: muse-user@ws.apache.org
Betreff: Re: AW: Error in wsdl parsing wsdl2java.sh
I tried to modify all things that you say to me but I receive the same error.
In particular I made the correction obtaining the following bind and Notify
operation
<wsdl:binding name="NotificationBrokerBinding"
type="tns:NotificationBroker">
<wsdl-soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="Notify">
<wsdl-soap:operation soapAction="Notify" style="rpc"/>
<wsdl:input >
<wsdl-soap:body use="literal" />
</wsdl:input>
</wsdl:operation>
....
</wsdl:binding>
Konrad Krentz wrote:
>
> I think you should write use="literal" everywhere in your binding. In case
> of faults, I'm pretty sure that literal is the default, so you can leave
> it
> out there.
>
> -----Ursprüngliche Nachricht-----
> Von: Agustin1984 [mailto:jamesdean84@hotmail.com]
> Gesendet: Montag, 3. Mai 2010 16:02
> An: muse-user@ws.apache.org
> Betreff: Re: Error in wsdl parsing wsdl2java.sh
>
>
> Can you help me, I have your same problem, the same error, but I'have not
> Understood how you have resolved this problem.
>
> I'm implementing the ws-brokered notification, have you implemented it?
>
> best regards
> thanks
>
>
>
> alfredo.s.g_uam_spain wrote:
>>
>> I got this error during code generation, but i think all is well
>> defined..
>> what is wrong??
>>
>>
>> An exception was caught: [ID = 'NotDocLiteral'] The WSDL operation
>> 'Notify' is not doc-literal because it defines a message with more than
>> one message part for its SOAP Body. The SOAP Body of a doc-literal
>> message
>> should contain one root request element (with the operation name) with
>> zero or more child elements (the parameters).
>>
>> What does not doc-literal mean???
>>
>> in this wsdl:
>>
>>
>>
>>
>> <wsdl:definitions name="WS-BrokeredNotification"
>>
>> targetNamespace="http://ws.apache.org/muse/test/wsrf"
>> xmlns:tns="http://ws.apache.org/muse/test/wsrf"
>>
>> xmlns="http://schemas.xmlsoap.org/wsdl/"
>>
>> xmlns:wsa="http://www.w3.org/2005/08/addressing"
>>
>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>
>> xmlns:wsdl-soap="http://schemas.xmlsoap.org/wsdl/soap/"
>>
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>
>> xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
>>
>> xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
>>
>> xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2"
>>
>> xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
>>
>> xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"
>>
>> xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
>>
>> xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2"
>>
>> xmlns:wst="http://docs.oasis-open.org/wsn/t-1"
>>
>> xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1"
>>
>> xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
>>
>> xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd"
>>
>>
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>
>> xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2"
>>
>> xmlns:wsn-brw="http://docs.oasis-open.org/wsn/brw-2"
>>
>> xmlns:wsn-b="http://docs.oasis-open.org/wsn/b-2"
>>
>> xmlns:wsn-bw="http://docs.oasis-open.org/wsn/bw-2"
>>
>> xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" >
>>
>>
>>
>> <wsdl:types>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://www.w3.org/2005/08/addressing">
>>
>> <xsd:include
> schemaLocation="WS-Addressing-2005_08.xsd"/>
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex">
>>
>> <xsd:include
> schemaLocation="WS-MetadataExchange-2004_09.xsd"/>
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsrf/rl-2">
>>
>> <xsd:include
> schemaLocation="WS-ResourceLifetime-1_2.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsrf/rp-2">
>>
>> <xsd:include
> schemaLocation="WS-ResourceProperties-1_2.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsrf/r-2">
>>
>> <xsd:include schemaLocation="WS-Resource-1_2.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsrf/rmd-1">
>>
>> <xsd:include
> schemaLocation="WS-ResourceMetadataDescriptor-CD-01.xsd"
>> />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd">
>>
>> <xsd:include
> schemaLocation="WSDM-MUWS-Part1-1_1.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsdm/muws2-2.xsd">
>>
>> <xsd:include
> schemaLocation="WSDM-MUWS-Part2-1_1.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsn/b-2">
>>
>> <xsd:include
> schemaLocation="WS-BaseNotification-1_3.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsn/t-1">
>>
>> <xsd:include schemaLocation="WS-Topics-1_3.xsd" />
>>
>> </xsd:schema>
>> </wsdl:types>
>>
>> <!-- ========================== Imports =========================== -->
>>
>> <wsdl:import namespace="http://docs.oasis-open.org/wsrf/rw-2"
>>
>> location="http://docs.oasis-open.org/wsrf/rw-2.wsdl"/>
>>
>>
>>
>> <wsdl:import namespace="http://docs.oasis-open.org/wsn/bw-2"
>>
>> location="http://docs.oasis-open.org/wsn/bw-2.wsdl"/>
>>
>>
>>
>> <!-- ===================== Types Definitions ====================== -->
>>
>> <wsdl:types>
>>
>> <xsd:schema>
>>
>> <xsd:import
>>
>> namespace="http://docs.oasis-open.org/wsn/br-2"
>>
>> schemaLocation="http://docs.oasis-open.org/wsn/br-2.xsd"/>
>>
>> </xsd:schema>
>>
>> </wsdl:types>
>>
>>
>>
>> <!-- ========== NotificationBroker::RegisterPublisher =============
>>
>> RegisterPublisher(PublisherReference, TopicExpression* ,
>>
>> [Demand], [InitialTerminationTime])
>>
>> returns: WS-Resource qualified EPR to a PublisherRegistration -->
>>
>> <wsdl:message name="RegisterPublisherRequest">
>>
>> <wsdl:part name="RegisterPublisherRequest"
>>
>> element="wsn-br:RegisterPublisher"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="RegisterPublisherResponse">
>>
>> <wsdl:part name="RegisterPublisherResponse"
>>
>> element="wsn-br:RegisterPublisherResponse"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="PublisherRegistrationRejectedFault">
>>
>> <wsdl:part name="PublisherRegistrationRejectedFault"
>>
>> element="wsn-br:PublisherRegistrationRejectedFault"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="PublisherRegistrationFailedFault">
>>
>> <wsdl:part name="PublisherRegistrationFailedFault"
>>
>> element="wsn-br:PublisherRegistrationFailedFault"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="DestroyRegistrationRequest">
>>
>> <wsdl:part name="DestroyRegistrationRequest"
>>
>> element="wsn-br:DestroyRegistration"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="DestroyRegistrationResponse">
>>
>> <wsdl:part name="DestroyRegistrationResponse"
>>
>> element="wsn-br:DestroyRegistrationResponse"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="ResourceNotDestroyedFault">
>>
>> <wsdl:part name="ResourceNotDestroyedFault"
>>
>> element="wsn-br:ResourceNotDestroyedFault"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <!-- =================== PortType Definitions ===================== -->
>>
>>
>> <!-- ========== NotificationBroker PortType Definition ============ -->
>>
>> <wsdl:portType name="NotificationBroker">
>>
>> <!-- ============= extends NotificationConsumer ============= -->
>>
>> <wsdl:operation name="Notify">
>>
>> <wsdl:input message="wsn-bw:Notify" />
>>
>> </wsdl:operation>
>>
>>
>>
>> <!-- ============= extends NotificationProducer ============= -->
>>
>> <wsdl:operation name="Subscribe">
>>
>> <wsdl:input message="wsn-bw:SubscribeRequest" />
>>
>> <wsdl:output message="wsn-bw:SubscribeResponse" />
>>
>> <wsdl:fault name="ResourceUnknownFault"
>>
>> message="wsrf-rw:ResourceUnknownFault" />
>>
>> <wsdl:fault name="InvalidFilterFault"
>>
>> message="wsn-bw:InvalidFilterFault"/>
>>
>> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>>
>> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>>
>> <wsdl:fault name="InvalidTopicExpressionFault"
>>
>> message="wsn-bw:InvalidTopicExpressionFault" />
>>
>> <wsdl:fault name="TopicNotSupportedFault"
>>
>> message="wsn-bw:TopicNotSupportedFault" />
>>
>> <wsdl:fault name="InvalidProducerPropertiesExpressionFault"
>>
>> message="wsn-bw:InvalidProducerPropertiesExpressionFault"/>
>>
>> <wsdl:fault name="InvalidMessageContentExpressionFault"
>>
>> message="wsn-bw:InvalidMessageContentExpressionFault"/>
>>
>> <wsdl:fault name="UnacceptableInitialTerminationTimeFault"
>>
>> message="wsn-bw:UnacceptableInitialTerminationTimeFault"/>
>>
>> <wsdl:fault name="UnrecognizedPolicyRequestFault"
>>
>> message="wsn-bw:UnrecognizedPolicyRequestFault"/>
>>
>> <wsdl:fault name="UnsupportedPolicyRequestFault"
>>
>> message="wsn-bw:UnsupportedPolicyRequestFault"/>
>>
>> <wsdl:fault name="NotifyMessageNotSupportedFault"
>>
>> message="wsn-bw:NotifyMessageNotSupportedFault"/>
>>
>> <wsdl:fault name="SubscribeCreationFailedFault"
>>
>> message="wsn-bw:SubscribeCreationFailedFault"/>
>>
>> </wsdl:operation>
>>
>> <wsdl:operation name="GetCurrentMessage">
>>
>> <wsdl:input message="wsn-bw:GetCurrentMessageRequest"/>
>>
>> <wsdl:output message="wsn-bw:GetCurrentMessageResponse"/>
>>
>> <wsdl:fault name="ResourceUnknownFault"
>>
>> message="wsrf-rw:ResourceUnknownFault"/>
>>
>> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>>
>> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>>
>> <wsdl:fault name="InvalidTopicExpressionFault"
>>
>> message="wsn-bw:InvalidTopicExpressionFault"/>
>>
>> <wsdl:fault name="TopicNotSupportedFault"
>>
>> message="wsn-bw:TopicNotSupportedFault"/>
>>
>> <wsdl:fault name="NoCurrentMessageOnTopicFault"
>>
>> message="wsn-bw:NoCurrentMessageOnTopicFault"/>
>>
>> <wsdl:fault name="MultipleTopicsSpecifiedFault"
>>
>> message="wsn-bw:MultipleTopicsSpecifiedFault"/>
>>
>> </wsdl:operation>
>>
>>
>>
>> <!-- ========= extends RegisterPublisher ======= -->
>>
>>
>>
>> </wsdl:portType>
>>
>>
>>
>> <wsdl:binding name="NotificationBrokerBinding"
>> type="tns:NotificationBroker">
>>
>> <wsdl-soap:binding style="document"
>> transport="http://schemas.xmlsoap.org/soap/http" />
>>
>>
>> <wsdl:operation name="Notify">
>> <wsdl-soap:operation soapAction="Notify"/>
>> <wsdl:input>
>> <wsdl-soap:body
>> use="encoded"
>>
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>>
>> </wsdl:input>
>> <wsdl:output>
>>
>> <wsdl-soap:body
>>
>> use="encoded"
>>
>>
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>>
>> </wsdl:output>
>> </wsdl:operation>
>>
>>
>>
>>
>> <wsdl:operation name="Subscribe">
>>
>> <wsdl-soap:operation
>>
>>
> soapAction="http://ws.apache.org/muse/test/wsrf/Subscribe" />
>>
>> <wsdl:input>
>>
>> <wsdl-soap:body use="encoded" />
>>
>> </wsdl:input>
>>
>> <wsdl:output>
>>
>> <wsdl-soap:body use="encoded" />
>>
>> </wsdl:output>
>>
>> <wsdl:fault name="ResourceUnknownFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded" name="ResourceUnknownFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="InvalidFilterFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded" name="InvalidFilterFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="TopicExpressionDialectUnknownFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="InvalidTopicExpressionFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="InvalidTopicExpressionFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="TopicNotSupportedFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded" name="TopicNotSupportedFault"
> />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault
>>
>> name="InvalidProducerPropertiesExpressionFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>>
>>
> name="InvalidProducerPropertiesExpressionFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="InvalidMessageContentExpressionFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="InvalidMessageContentExpressionFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault
>>
>> name="UnacceptableInitialTerminationTimeFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="UnacceptableInitialTerminationTimeFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="UnrecognizedPolicyRequestFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="UnrecognizedPolicyRequestFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="UnsupportedPolicyRequestFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="UnsupportedPolicyRequestFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="NotifyMessageNotSupportedFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="NotifyMessageNotSupportedFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="SubscribeCreationFailedFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="SubscribeCreationFailedFault" />
>>
>> </wsdl:fault>
>>
>> </wsdl:operation>
>>
>>
>> <wsdl:operation name="GetCurrentMessage">
>>
>> <wsdl-soap:operation
>>
>>
>> soapAction="http://ws.apache.org/muse/test/wsrf/GetCurrentMessage"/>
>>
>> <wsdl:input>
>>
>> <wsdl-soap:body use="encoded" />
>>
>> </wsdl:input>
>>
>> <wsdl:output>
>>
>> <wsdl-soap:body use="encoded" />
>>
>> </wsdl:output>
>>
>> <wsdl:fault name="ResourceUnknownFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded" name="ResourceUnknownFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="TopicExpressionDialectUnknownFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="InvalidTopicExpressionFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="InvalidTopicExpressionFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="TopicNotSupportedFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded" name="TopicNotSupportedFault"
> />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="NoCurrentMessageOnTopicFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="NoCurrentMessageOnTopicFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="MultipleTopicsSpecifiedFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="MultipleTopicsSpecifiedFault" />
>>
>> </wsdl:fault>
>>
>> </wsdl:operation>
>>
>> </wsdl:binding>
>>
>>
>>
>>
>>
>> <wsdl:service name="WsResourceService">
>>
>> <wsdl:port name="NotificationBrokerPort"
>> binding="tns:NotificationBrokerBinding">
>>
>> <wsdl-soap:address
>> location="http://localhost:9090/wsn-producer/services/WsResource"/>
>>
>> </wsdl:port>
>>
>> </wsdl:service>
>>
>> </wsdl:definitions>
>>
>>
>>
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28435501
> .html
> Sent from the Muse User mailing list archive at Nabble.com.
>
>
>
--
View this message in context: http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28444717.html
Sent from the Muse User mailing list archive at Nabble.com.
Re: AW: Error in wsdl parsing wsdl2java.sh
Posted by Agustin1984 <ja...@hotmail.com>.
I tried to modify all things that you say to me but I receive the same error.
In particular I made the correction obtaining the following bind and Notify
operation
<wsdl:binding name="NotificationBrokerBinding"
type="tns:NotificationBroker">
<wsdl-soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="Notify">
<wsdl-soap:operation soapAction="Notify" style="rpc"/>
<wsdl:input >
<wsdl-soap:body use="literal" />
</wsdl:input>
</wsdl:operation>
....
</wsdl:binding>
Konrad Krentz wrote:
>
> I think you should write use="literal" everywhere in your binding. In case
> of faults, I'm pretty sure that literal is the default, so you can leave
> it
> out there.
>
> -----Ursprüngliche Nachricht-----
> Von: Agustin1984 [mailto:jamesdean84@hotmail.com]
> Gesendet: Montag, 3. Mai 2010 16:02
> An: muse-user@ws.apache.org
> Betreff: Re: Error in wsdl parsing wsdl2java.sh
>
>
> Can you help me, I have your same problem, the same error, but I'have not
> Understood how you have resolved this problem.
>
> I'm implementing the ws-brokered notification, have you implemented it?
>
> best regards
> thanks
>
>
>
> alfredo.s.g_uam_spain wrote:
>>
>> I got this error during code generation, but i think all is well
>> defined..
>> what is wrong??
>>
>>
>> An exception was caught: [ID = 'NotDocLiteral'] The WSDL operation
>> 'Notify' is not doc-literal because it defines a message with more than
>> one message part for its SOAP Body. The SOAP Body of a doc-literal
>> message
>> should contain one root request element (with the operation name) with
>> zero or more child elements (the parameters).
>>
>> What does not doc-literal mean???
>>
>> in this wsdl:
>>
>>
>>
>>
>> <wsdl:definitions name="WS-BrokeredNotification"
>>
>> targetNamespace="http://ws.apache.org/muse/test/wsrf"
>> xmlns:tns="http://ws.apache.org/muse/test/wsrf"
>>
>> xmlns="http://schemas.xmlsoap.org/wsdl/"
>>
>> xmlns:wsa="http://www.w3.org/2005/08/addressing"
>>
>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>
>> xmlns:wsdl-soap="http://schemas.xmlsoap.org/wsdl/soap/"
>>
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>
>> xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
>>
>> xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
>>
>> xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2"
>>
>> xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
>>
>> xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"
>>
>> xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
>>
>> xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2"
>>
>> xmlns:wst="http://docs.oasis-open.org/wsn/t-1"
>>
>> xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1"
>>
>> xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
>>
>> xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd"
>>
>>
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>
>> xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2"
>>
>> xmlns:wsn-brw="http://docs.oasis-open.org/wsn/brw-2"
>>
>> xmlns:wsn-b="http://docs.oasis-open.org/wsn/b-2"
>>
>> xmlns:wsn-bw="http://docs.oasis-open.org/wsn/bw-2"
>>
>> xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" >
>>
>>
>>
>> <wsdl:types>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://www.w3.org/2005/08/addressing">
>>
>> <xsd:include
> schemaLocation="WS-Addressing-2005_08.xsd"/>
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex">
>>
>> <xsd:include
> schemaLocation="WS-MetadataExchange-2004_09.xsd"/>
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsrf/rl-2">
>>
>> <xsd:include
> schemaLocation="WS-ResourceLifetime-1_2.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsrf/rp-2">
>>
>> <xsd:include
> schemaLocation="WS-ResourceProperties-1_2.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsrf/r-2">
>>
>> <xsd:include schemaLocation="WS-Resource-1_2.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsrf/rmd-1">
>>
>> <xsd:include
> schemaLocation="WS-ResourceMetadataDescriptor-CD-01.xsd"
>> />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd">
>>
>> <xsd:include
> schemaLocation="WSDM-MUWS-Part1-1_1.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsdm/muws2-2.xsd">
>>
>> <xsd:include
> schemaLocation="WSDM-MUWS-Part2-1_1.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsn/b-2">
>>
>> <xsd:include
> schemaLocation="WS-BaseNotification-1_3.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
> targetNamespace="http://docs.oasis-open.org/wsn/t-1">
>>
>> <xsd:include schemaLocation="WS-Topics-1_3.xsd" />
>>
>> </xsd:schema>
>> </wsdl:types>
>>
>> <!-- ========================== Imports =========================== -->
>>
>> <wsdl:import namespace="http://docs.oasis-open.org/wsrf/rw-2"
>>
>> location="http://docs.oasis-open.org/wsrf/rw-2.wsdl"/>
>>
>>
>>
>> <wsdl:import namespace="http://docs.oasis-open.org/wsn/bw-2"
>>
>> location="http://docs.oasis-open.org/wsn/bw-2.wsdl"/>
>>
>>
>>
>> <!-- ===================== Types Definitions ====================== -->
>>
>> <wsdl:types>
>>
>> <xsd:schema>
>>
>> <xsd:import
>>
>> namespace="http://docs.oasis-open.org/wsn/br-2"
>>
>> schemaLocation="http://docs.oasis-open.org/wsn/br-2.xsd"/>
>>
>> </xsd:schema>
>>
>> </wsdl:types>
>>
>>
>>
>> <!-- ========== NotificationBroker::RegisterPublisher =============
>>
>> RegisterPublisher(PublisherReference, TopicExpression* ,
>>
>> [Demand], [InitialTerminationTime])
>>
>> returns: WS-Resource qualified EPR to a PublisherRegistration -->
>>
>> <wsdl:message name="RegisterPublisherRequest">
>>
>> <wsdl:part name="RegisterPublisherRequest"
>>
>> element="wsn-br:RegisterPublisher"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="RegisterPublisherResponse">
>>
>> <wsdl:part name="RegisterPublisherResponse"
>>
>> element="wsn-br:RegisterPublisherResponse"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="PublisherRegistrationRejectedFault">
>>
>> <wsdl:part name="PublisherRegistrationRejectedFault"
>>
>> element="wsn-br:PublisherRegistrationRejectedFault"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="PublisherRegistrationFailedFault">
>>
>> <wsdl:part name="PublisherRegistrationFailedFault"
>>
>> element="wsn-br:PublisherRegistrationFailedFault"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="DestroyRegistrationRequest">
>>
>> <wsdl:part name="DestroyRegistrationRequest"
>>
>> element="wsn-br:DestroyRegistration"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="DestroyRegistrationResponse">
>>
>> <wsdl:part name="DestroyRegistrationResponse"
>>
>> element="wsn-br:DestroyRegistrationResponse"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="ResourceNotDestroyedFault">
>>
>> <wsdl:part name="ResourceNotDestroyedFault"
>>
>> element="wsn-br:ResourceNotDestroyedFault"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <!-- =================== PortType Definitions ===================== -->
>>
>>
>> <!-- ========== NotificationBroker PortType Definition ============ -->
>>
>> <wsdl:portType name="NotificationBroker">
>>
>> <!-- ============= extends NotificationConsumer ============= -->
>>
>> <wsdl:operation name="Notify">
>>
>> <wsdl:input message="wsn-bw:Notify" />
>>
>> </wsdl:operation>
>>
>>
>>
>> <!-- ============= extends NotificationProducer ============= -->
>>
>> <wsdl:operation name="Subscribe">
>>
>> <wsdl:input message="wsn-bw:SubscribeRequest" />
>>
>> <wsdl:output message="wsn-bw:SubscribeResponse" />
>>
>> <wsdl:fault name="ResourceUnknownFault"
>>
>> message="wsrf-rw:ResourceUnknownFault" />
>>
>> <wsdl:fault name="InvalidFilterFault"
>>
>> message="wsn-bw:InvalidFilterFault"/>
>>
>> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>>
>> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>>
>> <wsdl:fault name="InvalidTopicExpressionFault"
>>
>> message="wsn-bw:InvalidTopicExpressionFault" />
>>
>> <wsdl:fault name="TopicNotSupportedFault"
>>
>> message="wsn-bw:TopicNotSupportedFault" />
>>
>> <wsdl:fault name="InvalidProducerPropertiesExpressionFault"
>>
>> message="wsn-bw:InvalidProducerPropertiesExpressionFault"/>
>>
>> <wsdl:fault name="InvalidMessageContentExpressionFault"
>>
>> message="wsn-bw:InvalidMessageContentExpressionFault"/>
>>
>> <wsdl:fault name="UnacceptableInitialTerminationTimeFault"
>>
>> message="wsn-bw:UnacceptableInitialTerminationTimeFault"/>
>>
>> <wsdl:fault name="UnrecognizedPolicyRequestFault"
>>
>> message="wsn-bw:UnrecognizedPolicyRequestFault"/>
>>
>> <wsdl:fault name="UnsupportedPolicyRequestFault"
>>
>> message="wsn-bw:UnsupportedPolicyRequestFault"/>
>>
>> <wsdl:fault name="NotifyMessageNotSupportedFault"
>>
>> message="wsn-bw:NotifyMessageNotSupportedFault"/>
>>
>> <wsdl:fault name="SubscribeCreationFailedFault"
>>
>> message="wsn-bw:SubscribeCreationFailedFault"/>
>>
>> </wsdl:operation>
>>
>> <wsdl:operation name="GetCurrentMessage">
>>
>> <wsdl:input message="wsn-bw:GetCurrentMessageRequest"/>
>>
>> <wsdl:output message="wsn-bw:GetCurrentMessageResponse"/>
>>
>> <wsdl:fault name="ResourceUnknownFault"
>>
>> message="wsrf-rw:ResourceUnknownFault"/>
>>
>> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>>
>> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>>
>> <wsdl:fault name="InvalidTopicExpressionFault"
>>
>> message="wsn-bw:InvalidTopicExpressionFault"/>
>>
>> <wsdl:fault name="TopicNotSupportedFault"
>>
>> message="wsn-bw:TopicNotSupportedFault"/>
>>
>> <wsdl:fault name="NoCurrentMessageOnTopicFault"
>>
>> message="wsn-bw:NoCurrentMessageOnTopicFault"/>
>>
>> <wsdl:fault name="MultipleTopicsSpecifiedFault"
>>
>> message="wsn-bw:MultipleTopicsSpecifiedFault"/>
>>
>> </wsdl:operation>
>>
>>
>>
>> <!-- ========= extends RegisterPublisher ======= -->
>>
>>
>>
>> </wsdl:portType>
>>
>>
>>
>> <wsdl:binding name="NotificationBrokerBinding"
>> type="tns:NotificationBroker">
>>
>> <wsdl-soap:binding style="document"
>> transport="http://schemas.xmlsoap.org/soap/http" />
>>
>>
>> <wsdl:operation name="Notify">
>> <wsdl-soap:operation soapAction="Notify"/>
>> <wsdl:input>
>> <wsdl-soap:body
>> use="encoded"
>>
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>>
>> </wsdl:input>
>> <wsdl:output>
>>
>> <wsdl-soap:body
>>
>> use="encoded"
>>
>>
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>>
>> </wsdl:output>
>> </wsdl:operation>
>>
>>
>>
>>
>> <wsdl:operation name="Subscribe">
>>
>> <wsdl-soap:operation
>>
>>
> soapAction="http://ws.apache.org/muse/test/wsrf/Subscribe" />
>>
>> <wsdl:input>
>>
>> <wsdl-soap:body use="encoded" />
>>
>> </wsdl:input>
>>
>> <wsdl:output>
>>
>> <wsdl-soap:body use="encoded" />
>>
>> </wsdl:output>
>>
>> <wsdl:fault name="ResourceUnknownFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded" name="ResourceUnknownFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="InvalidFilterFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded" name="InvalidFilterFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="TopicExpressionDialectUnknownFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="InvalidTopicExpressionFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="InvalidTopicExpressionFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="TopicNotSupportedFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded" name="TopicNotSupportedFault"
> />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault
>>
>> name="InvalidProducerPropertiesExpressionFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>>
>>
> name="InvalidProducerPropertiesExpressionFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="InvalidMessageContentExpressionFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="InvalidMessageContentExpressionFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault
>>
>> name="UnacceptableInitialTerminationTimeFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="UnacceptableInitialTerminationTimeFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="UnrecognizedPolicyRequestFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="UnrecognizedPolicyRequestFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="UnsupportedPolicyRequestFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="UnsupportedPolicyRequestFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="NotifyMessageNotSupportedFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="NotifyMessageNotSupportedFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="SubscribeCreationFailedFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="SubscribeCreationFailedFault" />
>>
>> </wsdl:fault>
>>
>> </wsdl:operation>
>>
>>
>> <wsdl:operation name="GetCurrentMessage">
>>
>> <wsdl-soap:operation
>>
>>
>> soapAction="http://ws.apache.org/muse/test/wsrf/GetCurrentMessage"/>
>>
>> <wsdl:input>
>>
>> <wsdl-soap:body use="encoded" />
>>
>> </wsdl:input>
>>
>> <wsdl:output>
>>
>> <wsdl-soap:body use="encoded" />
>>
>> </wsdl:output>
>>
>> <wsdl:fault name="ResourceUnknownFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded" name="ResourceUnknownFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="TopicExpressionDialectUnknownFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="InvalidTopicExpressionFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="InvalidTopicExpressionFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="TopicNotSupportedFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded" name="TopicNotSupportedFault"
> />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="NoCurrentMessageOnTopicFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="NoCurrentMessageOnTopicFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="MultipleTopicsSpecifiedFault">
>>
>> <wsdl-soap:fault
>>
>>
> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
> name="MultipleTopicsSpecifiedFault" />
>>
>> </wsdl:fault>
>>
>> </wsdl:operation>
>>
>> </wsdl:binding>
>>
>>
>>
>>
>>
>> <wsdl:service name="WsResourceService">
>>
>> <wsdl:port name="NotificationBrokerPort"
>> binding="tns:NotificationBrokerBinding">
>>
>> <wsdl-soap:address
>> location="http://localhost:9090/wsn-producer/services/WsResource"/>
>>
>> </wsdl:port>
>>
>> </wsdl:service>
>>
>> </wsdl:definitions>
>>
>>
>>
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28435501
> .html
> Sent from the Muse User mailing list archive at Nabble.com.
>
>
>
--
View this message in context: http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28444717.html
Sent from the Muse User mailing list archive at Nabble.com.
AW: Error in wsdl parsing wsdl2java.sh
Posted by Konrad Krentz <ko...@googlemail.com>.
I think you should write use="literal" everywhere in your binding. In case
of faults, I'm pretty sure that literal is the default, so you can leave it
out there.
-----Ursprüngliche Nachricht-----
Von: Agustin1984 [mailto:jamesdean84@hotmail.com]
Gesendet: Montag, 3. Mai 2010 16:02
An: muse-user@ws.apache.org
Betreff: Re: Error in wsdl parsing wsdl2java.sh
Can you help me, I have your same problem, the same error, but I'have not
Understood how you have resolved this problem.
I'm implementing the ws-brokered notification, have you implemented it?
best regards
thanks
alfredo.s.g_uam_spain wrote:
>
> I got this error during code generation, but i think all is well defined..
> what is wrong??
>
>
> An exception was caught: [ID = 'NotDocLiteral'] The WSDL operation
> 'Notify' is not doc-literal because it defines a message with more than
> one message part for its SOAP Body. The SOAP Body of a doc-literal message
> should contain one root request element (with the operation name) with
> zero or more child elements (the parameters).
>
> What does not doc-literal mean???
>
> in this wsdl:
>
>
>
>
> <wsdl:definitions name="WS-BrokeredNotification"
>
> targetNamespace="http://ws.apache.org/muse/test/wsrf"
> xmlns:tns="http://ws.apache.org/muse/test/wsrf"
>
> xmlns="http://schemas.xmlsoap.org/wsdl/"
>
> xmlns:wsa="http://www.w3.org/2005/08/addressing"
>
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>
> xmlns:wsdl-soap="http://schemas.xmlsoap.org/wsdl/soap/"
>
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
> xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
>
> xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
>
> xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2"
>
> xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
>
> xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"
>
> xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
>
> xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2"
>
> xmlns:wst="http://docs.oasis-open.org/wsn/t-1"
>
> xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1"
>
> xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
>
> xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd"
>
>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2"
>
> xmlns:wsn-brw="http://docs.oasis-open.org/wsn/brw-2"
>
> xmlns:wsn-b="http://docs.oasis-open.org/wsn/b-2"
>
> xmlns:wsn-bw="http://docs.oasis-open.org/wsn/bw-2"
>
> xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" >
>
>
>
> <wsdl:types>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
targetNamespace="http://www.w3.org/2005/08/addressing">
>
> <xsd:include
schemaLocation="WS-Addressing-2005_08.xsd"/>
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex">
>
> <xsd:include
schemaLocation="WS-MetadataExchange-2004_09.xsd"/>
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
targetNamespace="http://docs.oasis-open.org/wsrf/rl-2">
>
> <xsd:include
schemaLocation="WS-ResourceLifetime-1_2.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
targetNamespace="http://docs.oasis-open.org/wsrf/rp-2">
>
> <xsd:include
schemaLocation="WS-ResourceProperties-1_2.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
targetNamespace="http://docs.oasis-open.org/wsrf/r-2">
>
> <xsd:include schemaLocation="WS-Resource-1_2.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
targetNamespace="http://docs.oasis-open.org/wsrf/rmd-1">
>
> <xsd:include
schemaLocation="WS-ResourceMetadataDescriptor-CD-01.xsd"
> />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
targetNamespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd">
>
> <xsd:include
schemaLocation="WSDM-MUWS-Part1-1_1.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
targetNamespace="http://docs.oasis-open.org/wsdm/muws2-2.xsd">
>
> <xsd:include
schemaLocation="WSDM-MUWS-Part2-1_1.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
targetNamespace="http://docs.oasis-open.org/wsn/b-2">
>
> <xsd:include
schemaLocation="WS-BaseNotification-1_3.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
targetNamespace="http://docs.oasis-open.org/wsn/t-1">
>
> <xsd:include schemaLocation="WS-Topics-1_3.xsd" />
>
> </xsd:schema>
> </wsdl:types>
>
> <!-- ========================== Imports =========================== -->
>
> <wsdl:import namespace="http://docs.oasis-open.org/wsrf/rw-2"
>
> location="http://docs.oasis-open.org/wsrf/rw-2.wsdl"/>
>
>
>
> <wsdl:import namespace="http://docs.oasis-open.org/wsn/bw-2"
>
> location="http://docs.oasis-open.org/wsn/bw-2.wsdl"/>
>
>
>
> <!-- ===================== Types Definitions ====================== -->
>
> <wsdl:types>
>
> <xsd:schema>
>
> <xsd:import
>
> namespace="http://docs.oasis-open.org/wsn/br-2"
>
> schemaLocation="http://docs.oasis-open.org/wsn/br-2.xsd"/>
>
> </xsd:schema>
>
> </wsdl:types>
>
>
>
> <!-- ========== NotificationBroker::RegisterPublisher =============
>
> RegisterPublisher(PublisherReference, TopicExpression* ,
>
> [Demand], [InitialTerminationTime])
>
> returns: WS-Resource qualified EPR to a PublisherRegistration -->
>
> <wsdl:message name="RegisterPublisherRequest">
>
> <wsdl:part name="RegisterPublisherRequest"
>
> element="wsn-br:RegisterPublisher"/>
>
> </wsdl:message>
>
>
>
> <wsdl:message name="RegisterPublisherResponse">
>
> <wsdl:part name="RegisterPublisherResponse"
>
> element="wsn-br:RegisterPublisherResponse"/>
>
> </wsdl:message>
>
>
>
> <wsdl:message name="PublisherRegistrationRejectedFault">
>
> <wsdl:part name="PublisherRegistrationRejectedFault"
>
> element="wsn-br:PublisherRegistrationRejectedFault"/>
>
> </wsdl:message>
>
>
>
> <wsdl:message name="PublisherRegistrationFailedFault">
>
> <wsdl:part name="PublisherRegistrationFailedFault"
>
> element="wsn-br:PublisherRegistrationFailedFault"/>
>
> </wsdl:message>
>
>
>
> <wsdl:message name="DestroyRegistrationRequest">
>
> <wsdl:part name="DestroyRegistrationRequest"
>
> element="wsn-br:DestroyRegistration"/>
>
> </wsdl:message>
>
>
>
> <wsdl:message name="DestroyRegistrationResponse">
>
> <wsdl:part name="DestroyRegistrationResponse"
>
> element="wsn-br:DestroyRegistrationResponse"/>
>
> </wsdl:message>
>
>
>
> <wsdl:message name="ResourceNotDestroyedFault">
>
> <wsdl:part name="ResourceNotDestroyedFault"
>
> element="wsn-br:ResourceNotDestroyedFault"/>
>
> </wsdl:message>
>
>
>
> <!-- =================== PortType Definitions ===================== -->
>
>
> <!-- ========== NotificationBroker PortType Definition ============ -->
>
> <wsdl:portType name="NotificationBroker">
>
> <!-- ============= extends NotificationConsumer ============= -->
>
> <wsdl:operation name="Notify">
>
> <wsdl:input message="wsn-bw:Notify" />
>
> </wsdl:operation>
>
>
>
> <!-- ============= extends NotificationProducer ============= -->
>
> <wsdl:operation name="Subscribe">
>
> <wsdl:input message="wsn-bw:SubscribeRequest" />
>
> <wsdl:output message="wsn-bw:SubscribeResponse" />
>
> <wsdl:fault name="ResourceUnknownFault"
>
> message="wsrf-rw:ResourceUnknownFault" />
>
> <wsdl:fault name="InvalidFilterFault"
>
> message="wsn-bw:InvalidFilterFault"/>
>
> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>
> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>
> <wsdl:fault name="InvalidTopicExpressionFault"
>
> message="wsn-bw:InvalidTopicExpressionFault" />
>
> <wsdl:fault name="TopicNotSupportedFault"
>
> message="wsn-bw:TopicNotSupportedFault" />
>
> <wsdl:fault name="InvalidProducerPropertiesExpressionFault"
>
> message="wsn-bw:InvalidProducerPropertiesExpressionFault"/>
>
> <wsdl:fault name="InvalidMessageContentExpressionFault"
>
> message="wsn-bw:InvalidMessageContentExpressionFault"/>
>
> <wsdl:fault name="UnacceptableInitialTerminationTimeFault"
>
> message="wsn-bw:UnacceptableInitialTerminationTimeFault"/>
>
> <wsdl:fault name="UnrecognizedPolicyRequestFault"
>
> message="wsn-bw:UnrecognizedPolicyRequestFault"/>
>
> <wsdl:fault name="UnsupportedPolicyRequestFault"
>
> message="wsn-bw:UnsupportedPolicyRequestFault"/>
>
> <wsdl:fault name="NotifyMessageNotSupportedFault"
>
> message="wsn-bw:NotifyMessageNotSupportedFault"/>
>
> <wsdl:fault name="SubscribeCreationFailedFault"
>
> message="wsn-bw:SubscribeCreationFailedFault"/>
>
> </wsdl:operation>
>
> <wsdl:operation name="GetCurrentMessage">
>
> <wsdl:input message="wsn-bw:GetCurrentMessageRequest"/>
>
> <wsdl:output message="wsn-bw:GetCurrentMessageResponse"/>
>
> <wsdl:fault name="ResourceUnknownFault"
>
> message="wsrf-rw:ResourceUnknownFault"/>
>
> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>
> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>
> <wsdl:fault name="InvalidTopicExpressionFault"
>
> message="wsn-bw:InvalidTopicExpressionFault"/>
>
> <wsdl:fault name="TopicNotSupportedFault"
>
> message="wsn-bw:TopicNotSupportedFault"/>
>
> <wsdl:fault name="NoCurrentMessageOnTopicFault"
>
> message="wsn-bw:NoCurrentMessageOnTopicFault"/>
>
> <wsdl:fault name="MultipleTopicsSpecifiedFault"
>
> message="wsn-bw:MultipleTopicsSpecifiedFault"/>
>
> </wsdl:operation>
>
>
>
> <!-- ========= extends RegisterPublisher ======= -->
>
>
>
> </wsdl:portType>
>
>
>
> <wsdl:binding name="NotificationBrokerBinding"
> type="tns:NotificationBroker">
>
> <wsdl-soap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http" />
>
>
> <wsdl:operation name="Notify">
> <wsdl-soap:operation soapAction="Notify"/>
> <wsdl:input>
> <wsdl-soap:body
> use="encoded"
>
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>
> </wsdl:input>
> <wsdl:output>
>
> <wsdl-soap:body
>
> use="encoded"
>
>
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>
> </wsdl:output>
> </wsdl:operation>
>
>
>
>
> <wsdl:operation name="Subscribe">
>
> <wsdl-soap:operation
>
>
soapAction="http://ws.apache.org/muse/test/wsrf/Subscribe" />
>
> <wsdl:input>
>
> <wsdl-soap:body use="encoded" />
>
> </wsdl:input>
>
> <wsdl:output>
>
> <wsdl-soap:body use="encoded" />
>
> </wsdl:output>
>
> <wsdl:fault name="ResourceUnknownFault">
>
> <wsdl-soap:fault
>
>
namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="ResourceUnknownFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="InvalidFilterFault">
>
> <wsdl-soap:fault
>
>
namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="InvalidFilterFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>
> <wsdl-soap:fault
>
>
namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
name="TopicExpressionDialectUnknownFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="InvalidTopicExpressionFault">
>
> <wsdl-soap:fault
>
>
namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
name="InvalidTopicExpressionFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="TopicNotSupportedFault">
>
> <wsdl-soap:fault
>
>
namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="TopicNotSupportedFault"
/>
>
> </wsdl:fault>
>
> <wsdl:fault
>
> name="InvalidProducerPropertiesExpressionFault">
>
> <wsdl-soap:fault
>
>
namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
>
>
name="InvalidProducerPropertiesExpressionFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="InvalidMessageContentExpressionFault">
>
> <wsdl-soap:fault
>
>
namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
name="InvalidMessageContentExpressionFault" />
>
> </wsdl:fault>
>
> <wsdl:fault
>
> name="UnacceptableInitialTerminationTimeFault">
>
> <wsdl-soap:fault
>
>
namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
name="UnacceptableInitialTerminationTimeFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="UnrecognizedPolicyRequestFault">
>
> <wsdl-soap:fault
>
>
namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
name="UnrecognizedPolicyRequestFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="UnsupportedPolicyRequestFault">
>
> <wsdl-soap:fault
>
>
namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
name="UnsupportedPolicyRequestFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="NotifyMessageNotSupportedFault">
>
> <wsdl-soap:fault
>
>
namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
name="NotifyMessageNotSupportedFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="SubscribeCreationFailedFault">
>
> <wsdl-soap:fault
>
>
namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
name="SubscribeCreationFailedFault" />
>
> </wsdl:fault>
>
> </wsdl:operation>
>
>
> <wsdl:operation name="GetCurrentMessage">
>
> <wsdl-soap:operation
>
>
> soapAction="http://ws.apache.org/muse/test/wsrf/GetCurrentMessage"/>
>
> <wsdl:input>
>
> <wsdl-soap:body use="encoded" />
>
> </wsdl:input>
>
> <wsdl:output>
>
> <wsdl-soap:body use="encoded" />
>
> </wsdl:output>
>
> <wsdl:fault name="ResourceUnknownFault">
>
> <wsdl-soap:fault
>
>
namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="ResourceUnknownFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>
> <wsdl-soap:fault
>
>
namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
name="TopicExpressionDialectUnknownFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="InvalidTopicExpressionFault">
>
> <wsdl-soap:fault
>
>
namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
name="InvalidTopicExpressionFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="TopicNotSupportedFault">
>
> <wsdl-soap:fault
>
>
namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="TopicNotSupportedFault"
/>
>
> </wsdl:fault>
>
> <wsdl:fault name="NoCurrentMessageOnTopicFault">
>
> <wsdl-soap:fault
>
>
namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
name="NoCurrentMessageOnTopicFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="MultipleTopicsSpecifiedFault">
>
> <wsdl-soap:fault
>
>
namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
name="MultipleTopicsSpecifiedFault" />
>
> </wsdl:fault>
>
> </wsdl:operation>
>
> </wsdl:binding>
>
>
>
>
>
> <wsdl:service name="WsResourceService">
>
> <wsdl:port name="NotificationBrokerPort"
> binding="tns:NotificationBrokerBinding">
>
> <wsdl-soap:address
> location="http://localhost:9090/wsn-producer/services/WsResource"/>
>
> </wsdl:port>
>
> </wsdl:service>
>
> </wsdl:definitions>
>
>
>
>
>
--
View this message in context:
http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28435501
.html
Sent from the Muse User mailing list archive at Nabble.com.
Re: Error in wsdl parsing wsdl2java.sh
Posted by Agustin1984 <ja...@hotmail.com>.
Can you help me, I have your same problem, the same error, but I'have not
Understood how you have resolved this problem.
I'm implementing the ws-brokered notification, have you implemented it?
best regards
thanks
alfredo.s.g_uam_spain wrote:
>
> I got this error during code generation, but i think all is well defined..
> what is wrong??
>
>
> An exception was caught: [ID = 'NotDocLiteral'] The WSDL operation
> 'Notify' is not doc-literal because it defines a message with more than
> one message part for its SOAP Body. The SOAP Body of a doc-literal message
> should contain one root request element (with the operation name) with
> zero or more child elements (the parameters).
>
> What does not doc-literal mean???
>
> in this wsdl:
>
>
>
>
> <wsdl:definitions name="WS-BrokeredNotification"
>
> targetNamespace="http://ws.apache.org/muse/test/wsrf"
> xmlns:tns="http://ws.apache.org/muse/test/wsrf"
>
> xmlns="http://schemas.xmlsoap.org/wsdl/"
>
> xmlns:wsa="http://www.w3.org/2005/08/addressing"
>
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>
> xmlns:wsdl-soap="http://schemas.xmlsoap.org/wsdl/soap/"
>
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
> xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
>
> xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
>
> xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2"
>
> xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
>
> xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"
>
> xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
>
> xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2"
>
> xmlns:wst="http://docs.oasis-open.org/wsn/t-1"
>
> xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1"
>
> xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
>
> xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd"
>
>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2"
>
> xmlns:wsn-brw="http://docs.oasis-open.org/wsn/brw-2"
>
> xmlns:wsn-b="http://docs.oasis-open.org/wsn/b-2"
>
> xmlns:wsn-bw="http://docs.oasis-open.org/wsn/bw-2"
>
> xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" >
>
>
>
> <wsdl:types>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
> targetNamespace="http://www.w3.org/2005/08/addressing">
>
> <xsd:include schemaLocation="WS-Addressing-2005_08.xsd"/>
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
> targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex">
>
> <xsd:include schemaLocation="WS-MetadataExchange-2004_09.xsd"/>
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
> targetNamespace="http://docs.oasis-open.org/wsrf/rl-2">
>
> <xsd:include schemaLocation="WS-ResourceLifetime-1_2.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
> targetNamespace="http://docs.oasis-open.org/wsrf/rp-2">
>
> <xsd:include schemaLocation="WS-ResourceProperties-1_2.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
> targetNamespace="http://docs.oasis-open.org/wsrf/r-2">
>
> <xsd:include schemaLocation="WS-Resource-1_2.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
> targetNamespace="http://docs.oasis-open.org/wsrf/rmd-1">
>
> <xsd:include schemaLocation="WS-ResourceMetadataDescriptor-CD-01.xsd"
> />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
> targetNamespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd">
>
> <xsd:include schemaLocation="WSDM-MUWS-Part1-1_1.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
> targetNamespace="http://docs.oasis-open.org/wsdm/muws2-2.xsd">
>
> <xsd:include schemaLocation="WSDM-MUWS-Part2-1_1.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
> targetNamespace="http://docs.oasis-open.org/wsn/b-2">
>
> <xsd:include schemaLocation="WS-BaseNotification-1_3.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
> targetNamespace="http://docs.oasis-open.org/wsn/t-1">
>
> <xsd:include schemaLocation="WS-Topics-1_3.xsd" />
>
> </xsd:schema>
> </wsdl:types>
>
> <!-- ========================== Imports =========================== -->
>
> <wsdl:import namespace="http://docs.oasis-open.org/wsrf/rw-2"
>
> location="http://docs.oasis-open.org/wsrf/rw-2.wsdl"/>
>
>
>
> <wsdl:import namespace="http://docs.oasis-open.org/wsn/bw-2"
>
> location="http://docs.oasis-open.org/wsn/bw-2.wsdl"/>
>
>
>
> <!-- ===================== Types Definitions ====================== -->
>
> <wsdl:types>
>
> <xsd:schema>
>
> <xsd:import
>
> namespace="http://docs.oasis-open.org/wsn/br-2"
>
> schemaLocation="http://docs.oasis-open.org/wsn/br-2.xsd"/>
>
> </xsd:schema>
>
> </wsdl:types>
>
>
>
> <!-- ========== NotificationBroker::RegisterPublisher =============
>
> RegisterPublisher(PublisherReference, TopicExpression* ,
>
> [Demand], [InitialTerminationTime])
>
> returns: WS-Resource qualified EPR to a PublisherRegistration -->
>
> <wsdl:message name="RegisterPublisherRequest">
>
> <wsdl:part name="RegisterPublisherRequest"
>
> element="wsn-br:RegisterPublisher"/>
>
> </wsdl:message>
>
>
>
> <wsdl:message name="RegisterPublisherResponse">
>
> <wsdl:part name="RegisterPublisherResponse"
>
> element="wsn-br:RegisterPublisherResponse"/>
>
> </wsdl:message>
>
>
>
> <wsdl:message name="PublisherRegistrationRejectedFault">
>
> <wsdl:part name="PublisherRegistrationRejectedFault"
>
> element="wsn-br:PublisherRegistrationRejectedFault"/>
>
> </wsdl:message>
>
>
>
> <wsdl:message name="PublisherRegistrationFailedFault">
>
> <wsdl:part name="PublisherRegistrationFailedFault"
>
> element="wsn-br:PublisherRegistrationFailedFault"/>
>
> </wsdl:message>
>
>
>
> <wsdl:message name="DestroyRegistrationRequest">
>
> <wsdl:part name="DestroyRegistrationRequest"
>
> element="wsn-br:DestroyRegistration"/>
>
> </wsdl:message>
>
>
>
> <wsdl:message name="DestroyRegistrationResponse">
>
> <wsdl:part name="DestroyRegistrationResponse"
>
> element="wsn-br:DestroyRegistrationResponse"/>
>
> </wsdl:message>
>
>
>
> <wsdl:message name="ResourceNotDestroyedFault">
>
> <wsdl:part name="ResourceNotDestroyedFault"
>
> element="wsn-br:ResourceNotDestroyedFault"/>
>
> </wsdl:message>
>
>
>
> <!-- =================== PortType Definitions ===================== -->
>
>
> <!-- ========== NotificationBroker PortType Definition ============ -->
>
> <wsdl:portType name="NotificationBroker">
>
> <!-- ============= extends NotificationConsumer ============= -->
>
> <wsdl:operation name="Notify">
>
> <wsdl:input message="wsn-bw:Notify" />
>
> </wsdl:operation>
>
>
>
> <!-- ============= extends NotificationProducer ============= -->
>
> <wsdl:operation name="Subscribe">
>
> <wsdl:input message="wsn-bw:SubscribeRequest" />
>
> <wsdl:output message="wsn-bw:SubscribeResponse" />
>
> <wsdl:fault name="ResourceUnknownFault"
>
> message="wsrf-rw:ResourceUnknownFault" />
>
> <wsdl:fault name="InvalidFilterFault"
>
> message="wsn-bw:InvalidFilterFault"/>
>
> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>
> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>
> <wsdl:fault name="InvalidTopicExpressionFault"
>
> message="wsn-bw:InvalidTopicExpressionFault" />
>
> <wsdl:fault name="TopicNotSupportedFault"
>
> message="wsn-bw:TopicNotSupportedFault" />
>
> <wsdl:fault name="InvalidProducerPropertiesExpressionFault"
>
> message="wsn-bw:InvalidProducerPropertiesExpressionFault"/>
>
> <wsdl:fault name="InvalidMessageContentExpressionFault"
>
> message="wsn-bw:InvalidMessageContentExpressionFault"/>
>
> <wsdl:fault name="UnacceptableInitialTerminationTimeFault"
>
> message="wsn-bw:UnacceptableInitialTerminationTimeFault"/>
>
> <wsdl:fault name="UnrecognizedPolicyRequestFault"
>
> message="wsn-bw:UnrecognizedPolicyRequestFault"/>
>
> <wsdl:fault name="UnsupportedPolicyRequestFault"
>
> message="wsn-bw:UnsupportedPolicyRequestFault"/>
>
> <wsdl:fault name="NotifyMessageNotSupportedFault"
>
> message="wsn-bw:NotifyMessageNotSupportedFault"/>
>
> <wsdl:fault name="SubscribeCreationFailedFault"
>
> message="wsn-bw:SubscribeCreationFailedFault"/>
>
> </wsdl:operation>
>
> <wsdl:operation name="GetCurrentMessage">
>
> <wsdl:input message="wsn-bw:GetCurrentMessageRequest"/>
>
> <wsdl:output message="wsn-bw:GetCurrentMessageResponse"/>
>
> <wsdl:fault name="ResourceUnknownFault"
>
> message="wsrf-rw:ResourceUnknownFault"/>
>
> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>
> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>
> <wsdl:fault name="InvalidTopicExpressionFault"
>
> message="wsn-bw:InvalidTopicExpressionFault"/>
>
> <wsdl:fault name="TopicNotSupportedFault"
>
> message="wsn-bw:TopicNotSupportedFault"/>
>
> <wsdl:fault name="NoCurrentMessageOnTopicFault"
>
> message="wsn-bw:NoCurrentMessageOnTopicFault"/>
>
> <wsdl:fault name="MultipleTopicsSpecifiedFault"
>
> message="wsn-bw:MultipleTopicsSpecifiedFault"/>
>
> </wsdl:operation>
>
>
>
> <!-- ========= extends RegisterPublisher ======= -->
>
>
>
> </wsdl:portType>
>
>
>
> <wsdl:binding name="NotificationBrokerBinding"
> type="tns:NotificationBroker">
>
> <wsdl-soap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http" />
>
>
> <wsdl:operation name="Notify">
> <wsdl-soap:operation soapAction="Notify"/>
> <wsdl:input>
> <wsdl-soap:body
> use="encoded"
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>
> </wsdl:input>
> <wsdl:output>
>
> <wsdl-soap:body
>
> use="encoded"
>
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>
> </wsdl:output>
> </wsdl:operation>
>
>
>
>
> <wsdl:operation name="Subscribe">
>
> <wsdl-soap:operation
>
> soapAction="http://ws.apache.org/muse/test/wsrf/Subscribe" />
>
> <wsdl:input>
>
> <wsdl-soap:body use="encoded" />
>
> </wsdl:input>
>
> <wsdl:output>
>
> <wsdl-soap:body use="encoded" />
>
> </wsdl:output>
>
> <wsdl:fault name="ResourceUnknownFault">
>
> <wsdl-soap:fault
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="ResourceUnknownFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="InvalidFilterFault">
>
> <wsdl-soap:fault
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="InvalidFilterFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>
> <wsdl-soap:fault
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="TopicExpressionDialectUnknownFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="InvalidTopicExpressionFault">
>
> <wsdl-soap:fault
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="InvalidTopicExpressionFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="TopicNotSupportedFault">
>
> <wsdl-soap:fault
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="TopicNotSupportedFault" />
>
> </wsdl:fault>
>
> <wsdl:fault
>
> name="InvalidProducerPropertiesExpressionFault">
>
> <wsdl-soap:fault
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
>
> name="InvalidProducerPropertiesExpressionFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="InvalidMessageContentExpressionFault">
>
> <wsdl-soap:fault
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="InvalidMessageContentExpressionFault" />
>
> </wsdl:fault>
>
> <wsdl:fault
>
> name="UnacceptableInitialTerminationTimeFault">
>
> <wsdl-soap:fault
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="UnacceptableInitialTerminationTimeFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="UnrecognizedPolicyRequestFault">
>
> <wsdl-soap:fault
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="UnrecognizedPolicyRequestFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="UnsupportedPolicyRequestFault">
>
> <wsdl-soap:fault
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="UnsupportedPolicyRequestFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="NotifyMessageNotSupportedFault">
>
> <wsdl-soap:fault
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="NotifyMessageNotSupportedFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="SubscribeCreationFailedFault">
>
> <wsdl-soap:fault
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="SubscribeCreationFailedFault" />
>
> </wsdl:fault>
>
> </wsdl:operation>
>
>
> <wsdl:operation name="GetCurrentMessage">
>
> <wsdl-soap:operation
>
>
> soapAction="http://ws.apache.org/muse/test/wsrf/GetCurrentMessage"/>
>
> <wsdl:input>
>
> <wsdl-soap:body use="encoded" />
>
> </wsdl:input>
>
> <wsdl:output>
>
> <wsdl-soap:body use="encoded" />
>
> </wsdl:output>
>
> <wsdl:fault name="ResourceUnknownFault">
>
> <wsdl-soap:fault
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="ResourceUnknownFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>
> <wsdl-soap:fault
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="TopicExpressionDialectUnknownFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="InvalidTopicExpressionFault">
>
> <wsdl-soap:fault
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="InvalidTopicExpressionFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="TopicNotSupportedFault">
>
> <wsdl-soap:fault
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="TopicNotSupportedFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="NoCurrentMessageOnTopicFault">
>
> <wsdl-soap:fault
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="NoCurrentMessageOnTopicFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="MultipleTopicsSpecifiedFault">
>
> <wsdl-soap:fault
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="MultipleTopicsSpecifiedFault" />
>
> </wsdl:fault>
>
> </wsdl:operation>
>
> </wsdl:binding>
>
>
>
>
>
> <wsdl:service name="WsResourceService">
>
> <wsdl:port name="NotificationBrokerPort"
> binding="tns:NotificationBrokerBinding">
>
> <wsdl-soap:address
> location="http://localhost:9090/wsn-producer/services/WsResource"/>
>
> </wsdl:port>
>
> </wsdl:service>
>
> </wsdl:definitions>
>
>
>
>
>
--
View this message in context: http://old.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tp13365893p28435501.html
Sent from the Muse User mailing list archive at Nabble.com.
RE: Error in wsdl parsing wsdl2java.sh
Posted by "alfredo.s.g_uam_spain" <al...@gmail.com>.
The problem was the namespace is not tns ( local namespace ) for all
instances for Notify, i changed that and everything went ok, now im
developing the logic of the Broker. Thanks !
alfredo.s.g_uam_spain wrote:
>
> I think there is a mistake in my specification of Notify message, i think
> there is some problem connecting the different parts.
> Can you find the problem?
>
> <wsdl:message name="Notify">
> <wsdl:part name="Notify" element="wsnt:Notify"/> <!--brobably here is
> wsntw but doesn't help-->
> </wsdl:message>
>
> <wsdl:operation name="Notify">
>
> <wsdl:input
> wsa:Action="http://docs.oasis-open.org/wsn/bw-2/NotificationConsumer/NotifyRequest"
> message="wsntw:Notify" />
>
> </wsdl:operation>
>
> <wsdl:operation name="Notify">
> <wsdl-soap:operation soapAction="Notify">
> <wsdl:input message="wsntw:Notify">
> <wsdl-soap:body
> use="encoded"
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>
> </wsdl:input>
> </wsdl-soap:operation>
> </wsdl:operation>
>
>
> And my types definition are:
>
> <wsdl:types>
>
> <xsd:schema>
>
> <xsd:import
>
> namespace="http://docs.oasis-open.org/wsn/br-2"
>
> schemaLocation="http://docs.oasis-open.org/wsn/br-2.xsd"/>
>
> </xsd:schema>
> <xsd:schema
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> targetNamespace="http://docs.oasis-open.org/wsrf/rw-2"
> elementFormDefault="qualified"
> attributeFormDefault="unqualified">
>
> <xsd:import
> namespace="http://docs.oasis-open.org/wsrf/r-2"
> schemaLocation="http://docs.oasis-open.org/wsrf/r-2.xsd"
> />
>
> </xsd:schema>
> <xsd:schema
>
> elementFormDefault="qualified"
>
> targetNamespace="http://www.w3.org/2005/08/addressing">
>
> <xsd:include schemaLocation="WS-Addressing-2005_08.xsd"/>
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
> targetNamespace="http://docs.oasis-open.org/wsrf/rl-2">
>
> <xsd:include schemaLocation="WS-ResourceLifetime-1_2.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
> targetNamespace="http://docs.oasis-open.org/wsrf/rp-2">
>
> <xsd:include schemaLocation="WS-ResourceProperties-1_2.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
> targetNamespace="http://docs.oasis-open.org/wsrf/r-2">
>
> <xsd:include schemaLocation="WS-Resource-1_2.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
> targetNamespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd">
>
> <xsd:include schemaLocation="WSDM-MUWS-Part1-1_1.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
> targetNamespace="http://docs.oasis-open.org/wsdm/muws2-2.xsd">
>
> <xsd:include schemaLocation="WSDM-MUWS-Part2-1_1.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
> targetNamespace="http://docs.oasis-open.org/wsn/b-2">
>
> <xsd:include schemaLocation="WS-BaseNotification-1_3.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
> targetNamespace="http://docs.oasis-open.org/wsn/t-1">
>
> <xsd:include schemaLocation="WS-Topics-1_3.xsd" />
>
> </xsd:schema>
> <xsd:schema>
> <xsd:import
> namespace="http://docs.oasis-open.org/wsn/b-2"
> schemaLocation="http://docs.oasis-open.org/wsn/b-2.xsd"/>
> </xsd:schema>
>
> </wsdl:types>
>
>
>
> lenni.madsen wrote:
>>
>> I think this email from earlier this year might help out
>> http://marc.info/?l=muse-user&m=117525841316735&w=2
>>
>> As to what is Document Literal, this resource might help:
>> http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/
>>
>> Sincerely
>>
>> Lenni
>> -----Original Message-----
>> From: alfredo.s.g_uam_spain [mailto:alfredo.salvador@gmail.com]
>> Sent: 23 October 2007 15:37
>> To: muse-user@ws.apache.org
>> Subject: Error in wsdl parsing wsdl2java.sh
>>
>>
>> I got this error during code generation, but i think all is well
>> defined..
>> what is wrong??
>>
>>
>> An exception was caught: [ID = 'NotDocLiteral'] The WSDL operation
>> 'Notify'
>> is not doc-literal because it defines a message with more than one
>> message
>> part for its SOAP Body. The SOAP Body of a doc-literal message should
>> contain one root request element (with the operation name) with zero or
>> more
>> child elements (the parameters).
>>
>> What does not doc-literal mean???
>>
>> in this wsdl:
>>
>>
>>
>>
>> <wsdl:definitions name="WS-BrokeredNotification"
>>
>> targetNamespace="http://ws.apache.org/muse/test/wsrf"
>> xmlns:tns="http://ws.apache.org/muse/test/wsrf"
>>
>> xmlns="http://schemas.xmlsoap.org/wsdl/"
>>
>> xmlns:wsa="http://www.w3.org/2005/08/addressing"
>>
>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>
>> xmlns:wsdl-soap="http://schemas.xmlsoap.org/wsdl/soap/"
>>
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>
>> xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
>>
>> xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
>>
>> xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2"
>>
>> xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
>>
>> xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"
>>
>> xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
>>
>> xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2"
>>
>> xmlns:wst="http://docs.oasis-open.org/wsn/t-1"
>>
>> xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1"
>>
>> xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
>>
>> xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd"
>>
>>
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>
>> xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2"
>>
>> xmlns:wsn-brw="http://docs.oasis-open.org/wsn/brw-2"
>>
>> xmlns:wsn-b="http://docs.oasis-open.org/wsn/b-2"
>>
>> xmlns:wsn-bw="http://docs.oasis-open.org/wsn/bw-2"
>>
>> xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" >
>>
>>
>>
>> <wsdl:types>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
>> targetNamespace="http://www.w3.org/2005/08/addressing">
>>
>> <xsd:include
>> schemaLocation="WS-Addressing-2005_08.xsd"/>
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
>> targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex">
>>
>> <xsd:include
>> schemaLocation="WS-MetadataExchange-2004_09.xsd"/>
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/rl-2">
>>
>> <xsd:include
>> schemaLocation="WS-ResourceLifetime-1_2.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/rp-2">
>>
>> <xsd:include
>> schemaLocation="WS-ResourceProperties-1_2.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/r-2">
>>
>> <xsd:include
>> schemaLocation="WS-Resource-1_2.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
>> targetNamespace="http://docs.oasis-open.org/wsrf/rmd-1">
>>
>> <xsd:include
>> schemaLocation="WS-ResourceMetadataDescriptor-CD-01.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
>> targetNamespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd">
>>
>> <xsd:include
>> schemaLocation="WSDM-MUWS-Part1-1_1.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
>> targetNamespace="http://docs.oasis-open.org/wsdm/muws2-2.xsd">
>>
>> <xsd:include
>> schemaLocation="WSDM-MUWS-Part2-1_1.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
>> targetNamespace="http://docs.oasis-open.org/wsn/b-2">
>>
>> <xsd:include
>> schemaLocation="WS-BaseNotification-1_3.xsd" />
>>
>> </xsd:schema>
>>
>> <xsd:schema
>>
>> elementFormDefault="qualified"
>>
>>
>> targetNamespace="http://docs.oasis-open.org/wsn/t-1">
>>
>> <xsd:include schemaLocation="WS-Topics-1_3.xsd"
>> />
>>
>> </xsd:schema>
>> </wsdl:types>
>>
>> <!-- ========================== Imports =========================== -->
>>
>> <wsdl:import namespace="http://docs.oasis-open.org/wsrf/rw-2"
>>
>> location="http://docs.oasis-open.org/wsrf/rw-2.wsdl"/>
>>
>>
>>
>> <wsdl:import namespace="http://docs.oasis-open.org/wsn/bw-2"
>>
>> location="http://docs.oasis-open.org/wsn/bw-2.wsdl"/>
>>
>>
>>
>> <!-- ===================== Types Definitions ====================== -->
>>
>> <wsdl:types>
>>
>> <xsd:schema>
>>
>> <xsd:import
>>
>> namespace="http://docs.oasis-open.org/wsn/br-2"
>>
>> schemaLocation="http://docs.oasis-open.org/wsn/br-2.xsd"/>
>>
>> </xsd:schema>
>>
>> </wsdl:types>
>>
>>
>>
>> <!-- ========== NotificationBroker::RegisterPublisher =============
>>
>> RegisterPublisher(PublisherReference, TopicExpression* ,
>>
>> [Demand], [InitialTerminationTime])
>>
>> returns: WS-Resource qualified EPR to a PublisherRegistration -->
>>
>> <wsdl:message name="RegisterPublisherRequest">
>>
>> <wsdl:part name="RegisterPublisherRequest"
>>
>> element="wsn-br:RegisterPublisher"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="RegisterPublisherResponse">
>>
>> <wsdl:part name="RegisterPublisherResponse"
>>
>> element="wsn-br:RegisterPublisherResponse"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="PublisherRegistrationRejectedFault">
>>
>> <wsdl:part name="PublisherRegistrationRejectedFault"
>>
>> element="wsn-br:PublisherRegistrationRejectedFault"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="PublisherRegistrationFailedFault">
>>
>> <wsdl:part name="PublisherRegistrationFailedFault"
>>
>> element="wsn-br:PublisherRegistrationFailedFault"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="DestroyRegistrationRequest">
>>
>> <wsdl:part name="DestroyRegistrationRequest"
>>
>> element="wsn-br:DestroyRegistration"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="DestroyRegistrationResponse">
>>
>> <wsdl:part name="DestroyRegistrationResponse"
>>
>> element="wsn-br:DestroyRegistrationResponse"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:message name="ResourceNotDestroyedFault">
>>
>> <wsdl:part name="ResourceNotDestroyedFault"
>>
>> element="wsn-br:ResourceNotDestroyedFault"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <!-- =================== PortType Definitions ===================== -->
>>
>>
>> <!-- ========== NotificationBroker PortType Definition ============ -->
>>
>> <wsdl:portType name="NotificationBroker">
>>
>> <!-- ============= extends NotificationConsumer ============= -->
>>
>> <wsdl:operation name="Notify">
>>
>> <wsdl:input message="wsn-bw:Notify" />
>>
>> </wsdl:operation>
>>
>>
>>
>> <!-- ============= extends NotificationProducer ============= -->
>>
>> <wsdl:operation name="Subscribe">
>>
>> <wsdl:input message="wsn-bw:SubscribeRequest" />
>>
>> <wsdl:output message="wsn-bw:SubscribeResponse" />
>>
>> <wsdl:fault name="ResourceUnknownFault"
>>
>> message="wsrf-rw:ResourceUnknownFault" />
>>
>> <wsdl:fault name="InvalidFilterFault"
>>
>> message="wsn-bw:InvalidFilterFault"/>
>>
>> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>>
>> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>>
>> <wsdl:fault name="InvalidTopicExpressionFault"
>>
>> message="wsn-bw:InvalidTopicExpressionFault" />
>>
>> <wsdl:fault name="TopicNotSupportedFault"
>>
>> message="wsn-bw:TopicNotSupportedFault" />
>>
>> <wsdl:fault name="InvalidProducerPropertiesExpressionFault"
>>
>> message="wsn-bw:InvalidProducerPropertiesExpressionFault"/>
>>
>> <wsdl:fault name="InvalidMessageContentExpressionFault"
>>
>> message="wsn-bw:InvalidMessageContentExpressionFault"/>
>>
>> <wsdl:fault name="UnacceptableInitialTerminationTimeFault"
>>
>> message="wsn-bw:UnacceptableInitialTerminationTimeFault"/>
>>
>> <wsdl:fault name="UnrecognizedPolicyRequestFault"
>>
>> message="wsn-bw:UnrecognizedPolicyRequestFault"/>
>>
>> <wsdl:fault name="UnsupportedPolicyRequestFault"
>>
>> message="wsn-bw:UnsupportedPolicyRequestFault"/>
>>
>> <wsdl:fault name="NotifyMessageNotSupportedFault"
>>
>> message="wsn-bw:NotifyMessageNotSupportedFault"/>
>>
>> <wsdl:fault name="SubscribeCreationFailedFault"
>>
>> message="wsn-bw:SubscribeCreationFailedFault"/>
>>
>> </wsdl:operation>
>>
>> <wsdl:operation name="GetCurrentMessage">
>>
>> <wsdl:input message="wsn-bw:GetCurrentMessageRequest"/>
>>
>> <wsdl:output message="wsn-bw:GetCurrentMessageResponse"/>
>>
>> <wsdl:fault name="ResourceUnknownFault"
>>
>> message="wsrf-rw:ResourceUnknownFault"/>
>>
>> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>>
>> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>>
>> <wsdl:fault name="InvalidTopicExpressionFault"
>>
>> message="wsn-bw:InvalidTopicExpressionFault"/>
>>
>> <wsdl:fault name="TopicNotSupportedFault"
>>
>> message="wsn-bw:TopicNotSupportedFault"/>
>>
>> <wsdl:fault name="NoCurrentMessageOnTopicFault"
>>
>> message="wsn-bw:NoCurrentMessageOnTopicFault"/>
>>
>> <wsdl:fault name="MultipleTopicsSpecifiedFault"
>>
>> message="wsn-bw:MultipleTopicsSpecifiedFault"/>
>>
>> </wsdl:operation>
>>
>>
>>
>> <!-- ========= extends RegisterPublisher ======= -->
>>
>>
>>
>> </wsdl:portType>
>>
>>
>>
>> <wsdl:binding name="NotificationBrokerBinding"
>> type="tns:NotificationBroker">
>>
>> <wsdl-soap:binding style="document"
>> transport="http://schemas.xmlsoap.org/soap/http" />
>>
>>
>> <wsdl:operation name="Notify">
>> <wsdl-soap:operation soapAction="Notify"/>
>> <wsdl:input>
>> <wsdl-soap:body
>> use="encoded"
>>
>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>>
>> </wsdl:input>
>> <wsdl:output>
>>
>> <wsdl-soap:body
>>
>> use="encoded"
>>
>>
>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>>
>> </wsdl:output>
>> </wsdl:operation>
>>
>>
>>
>>
>> <wsdl:operation name="Subscribe">
>>
>> <wsdl-soap:operation
>>
>>
>> soapAction="http://ws.apache.org/muse/test/wsrf/Subscribe" />
>>
>> <wsdl:input>
>>
>> <wsdl-soap:body use="encoded" />
>>
>> </wsdl:input>
>>
>> <wsdl:output>
>>
>> <wsdl-soap:body use="encoded" />
>>
>> </wsdl:output>
>>
>> <wsdl:fault name="ResourceUnknownFault">
>>
>> <wsdl-soap:fault
>>
>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>> name="ResourceUnknownFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="InvalidFilterFault">
>>
>> <wsdl-soap:fault
>>
>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded" name="InvalidFilterFault"
>> />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>>
>> <wsdl-soap:fault
>>
>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>> name="TopicExpressionDialectUnknownFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="InvalidTopicExpressionFault">
>>
>> <wsdl-soap:fault
>>
>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>> name="InvalidTopicExpressionFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="TopicNotSupportedFault">
>>
>> <wsdl-soap:fault
>>
>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>> name="TopicNotSupportedFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault
>>
>> name="InvalidProducerPropertiesExpressionFault">
>>
>> <wsdl-soap:fault
>>
>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>>
>>
>> name="InvalidProducerPropertiesExpressionFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="InvalidMessageContentExpressionFault">
>>
>> <wsdl-soap:fault
>>
>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>> name="InvalidMessageContentExpressionFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault
>>
>> name="UnacceptableInitialTerminationTimeFault">
>>
>> <wsdl-soap:fault
>>
>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>> name="UnacceptableInitialTerminationTimeFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="UnrecognizedPolicyRequestFault">
>>
>> <wsdl-soap:fault
>>
>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>> name="UnrecognizedPolicyRequestFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="UnsupportedPolicyRequestFault">
>>
>> <wsdl-soap:fault
>>
>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>> name="UnsupportedPolicyRequestFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="NotifyMessageNotSupportedFault">
>>
>> <wsdl-soap:fault
>>
>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>> name="NotifyMessageNotSupportedFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="SubscribeCreationFailedFault">
>>
>> <wsdl-soap:fault
>>
>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>> name="SubscribeCreationFailedFault" />
>>
>> </wsdl:fault>
>>
>> </wsdl:operation>
>>
>>
>> <wsdl:operation name="GetCurrentMessage">
>>
>> <wsdl-soap:operation
>>
>>
>> soapAction="http://ws.apache.org/muse/test/wsrf/GetCurrentMessage"/>
>>
>> <wsdl:input>
>>
>> <wsdl-soap:body use="encoded" />
>>
>> </wsdl:input>
>>
>> <wsdl:output>
>>
>> <wsdl-soap:body use="encoded" />
>>
>> </wsdl:output>
>>
>> <wsdl:fault name="ResourceUnknownFault">
>>
>> <wsdl-soap:fault
>>
>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>> name="ResourceUnknownFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>>
>> <wsdl-soap:fault
>>
>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>> name="TopicExpressionDialectUnknownFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="InvalidTopicExpressionFault">
>>
>> <wsdl-soap:fault
>>
>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>> name="InvalidTopicExpressionFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="TopicNotSupportedFault">
>>
>> <wsdl-soap:fault
>>
>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>> name="TopicNotSupportedFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="NoCurrentMessageOnTopicFault">
>>
>> <wsdl-soap:fault
>>
>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>> name="NoCurrentMessageOnTopicFault" />
>>
>> </wsdl:fault>
>>
>> <wsdl:fault name="MultipleTopicsSpecifiedFault">
>>
>> <wsdl-soap:fault
>>
>>
>> namespace="http://ws.apache.org/muse/test/wsrf"
>>
>> use="encoded"
>> name="MultipleTopicsSpecifiedFault" />
>>
>> </wsdl:fault>
>>
>> </wsdl:operation>
>>
>> </wsdl:binding>
>>
>>
>>
>>
>>
>> <wsdl:service name="WsResourceService">
>>
>> <wsdl:port name="NotificationBrokerPort"
>> binding="tns:NotificationBrokerBinding">
>>
>> <wsdl-soap:address
>> location="http://localhost:9090/wsn-producer/services/WsResource"/>
>>
>> </wsdl:port>
>>
>> </wsdl:service>
>>
>> </wsdl:definitions>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tf4677959.html#
>> a13365893
>> Sent from the Muse User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: muse-user-help@ws.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: muse-user-help@ws.apache.org
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tf4677959.html#a13384563
Sent from the Muse User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org
RE: Error in wsdl parsing wsdl2java.sh
Posted by "alfredo.s.g_uam_spain" <al...@gmail.com>.
I think there is a mistake in my specification of Notify message, i think
there is some problem connecting the different parts.
Can you find the problem?
<wsdl:message name="Notify">
<wsdl:part name="Notify" element="wsnt:Notify"/> <!--brobably here is
wsntw but doesn't help-->
</wsdl:message>
<wsdl:operation name="Notify">
<wsdl:input
wsa:Action="http://docs.oasis-open.org/wsn/bw-2/NotificationConsumer/NotifyRequest"
message="wsntw:Notify" />
</wsdl:operation>
<wsdl:operation name="Notify">
<wsdl-soap:operation soapAction="Notify">
<wsdl:input message="wsntw:Notify">
<wsdl-soap:body
use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</wsdl:input>
</wsdl-soap:operation>
</wsdl:operation>
And my types definition are:
<wsdl:types>
<xsd:schema>
<xsd:import
namespace="http://docs.oasis-open.org/wsn/br-2"
schemaLocation="http://docs.oasis-open.org/wsn/br-2.xsd"/>
</xsd:schema>
<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://docs.oasis-open.org/wsrf/rw-2"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xsd:import
namespace="http://docs.oasis-open.org/wsrf/r-2"
schemaLocation="http://docs.oasis-open.org/wsrf/r-2.xsd"
/>
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://www.w3.org/2005/08/addressing">
<xsd:include schemaLocation="WS-Addressing-2005_08.xsd"/>
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsrf/rl-2">
<xsd:include schemaLocation="WS-ResourceLifetime-1_2.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsrf/rp-2">
<xsd:include schemaLocation="WS-ResourceProperties-1_2.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsrf/r-2">
<xsd:include schemaLocation="WS-Resource-1_2.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd">
<xsd:include schemaLocation="WSDM-MUWS-Part1-1_1.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsdm/muws2-2.xsd">
<xsd:include schemaLocation="WSDM-MUWS-Part2-1_1.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsn/b-2">
<xsd:include schemaLocation="WS-BaseNotification-1_3.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsn/t-1">
<xsd:include schemaLocation="WS-Topics-1_3.xsd" />
</xsd:schema>
<xsd:schema>
<xsd:import
namespace="http://docs.oasis-open.org/wsn/b-2"
schemaLocation="http://docs.oasis-open.org/wsn/b-2.xsd"/>
</xsd:schema>
</wsdl:types>
lenni.madsen wrote:
>
> I think this email from earlier this year might help out
> http://marc.info/?l=muse-user&m=117525841316735&w=2
>
> As to what is Document Literal, this resource might help:
> http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/
>
> Sincerely
>
> Lenni
> -----Original Message-----
> From: alfredo.s.g_uam_spain [mailto:alfredo.salvador@gmail.com]
> Sent: 23 October 2007 15:37
> To: muse-user@ws.apache.org
> Subject: Error in wsdl parsing wsdl2java.sh
>
>
> I got this error during code generation, but i think all is well
> defined..
> what is wrong??
>
>
> An exception was caught: [ID = 'NotDocLiteral'] The WSDL operation
> 'Notify'
> is not doc-literal because it defines a message with more than one
> message
> part for its SOAP Body. The SOAP Body of a doc-literal message should
> contain one root request element (with the operation name) with zero or
> more
> child elements (the parameters).
>
> What does not doc-literal mean???
>
> in this wsdl:
>
>
>
>
> <wsdl:definitions name="WS-BrokeredNotification"
>
> targetNamespace="http://ws.apache.org/muse/test/wsrf"
> xmlns:tns="http://ws.apache.org/muse/test/wsrf"
>
> xmlns="http://schemas.xmlsoap.org/wsdl/"
>
> xmlns:wsa="http://www.w3.org/2005/08/addressing"
>
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>
> xmlns:wsdl-soap="http://schemas.xmlsoap.org/wsdl/soap/"
>
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
> xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
>
> xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
>
> xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2"
>
> xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
>
> xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"
>
> xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
>
> xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2"
>
> xmlns:wst="http://docs.oasis-open.org/wsn/t-1"
>
> xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1"
>
> xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
>
> xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd"
>
>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2"
>
> xmlns:wsn-brw="http://docs.oasis-open.org/wsn/brw-2"
>
> xmlns:wsn-b="http://docs.oasis-open.org/wsn/b-2"
>
> xmlns:wsn-bw="http://docs.oasis-open.org/wsn/bw-2"
>
> xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" >
>
>
>
> <wsdl:types>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
> targetNamespace="http://www.w3.org/2005/08/addressing">
>
> <xsd:include
> schemaLocation="WS-Addressing-2005_08.xsd"/>
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
> targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex">
>
> <xsd:include
> schemaLocation="WS-MetadataExchange-2004_09.xsd"/>
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
> targetNamespace="http://docs.oasis-open.org/wsrf/rl-2">
>
> <xsd:include
> schemaLocation="WS-ResourceLifetime-1_2.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
> targetNamespace="http://docs.oasis-open.org/wsrf/rp-2">
>
> <xsd:include
> schemaLocation="WS-ResourceProperties-1_2.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
> targetNamespace="http://docs.oasis-open.org/wsrf/r-2">
>
> <xsd:include
> schemaLocation="WS-Resource-1_2.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
> targetNamespace="http://docs.oasis-open.org/wsrf/rmd-1">
>
> <xsd:include
> schemaLocation="WS-ResourceMetadataDescriptor-CD-01.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
> targetNamespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd">
>
> <xsd:include
> schemaLocation="WSDM-MUWS-Part1-1_1.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
> targetNamespace="http://docs.oasis-open.org/wsdm/muws2-2.xsd">
>
> <xsd:include
> schemaLocation="WSDM-MUWS-Part2-1_1.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
> targetNamespace="http://docs.oasis-open.org/wsn/b-2">
>
> <xsd:include
> schemaLocation="WS-BaseNotification-1_3.xsd" />
>
> </xsd:schema>
>
> <xsd:schema
>
> elementFormDefault="qualified"
>
>
> targetNamespace="http://docs.oasis-open.org/wsn/t-1">
>
> <xsd:include schemaLocation="WS-Topics-1_3.xsd"
> />
>
> </xsd:schema>
> </wsdl:types>
>
> <!-- ========================== Imports =========================== -->
>
> <wsdl:import namespace="http://docs.oasis-open.org/wsrf/rw-2"
>
> location="http://docs.oasis-open.org/wsrf/rw-2.wsdl"/>
>
>
>
> <wsdl:import namespace="http://docs.oasis-open.org/wsn/bw-2"
>
> location="http://docs.oasis-open.org/wsn/bw-2.wsdl"/>
>
>
>
> <!-- ===================== Types Definitions ====================== -->
>
> <wsdl:types>
>
> <xsd:schema>
>
> <xsd:import
>
> namespace="http://docs.oasis-open.org/wsn/br-2"
>
> schemaLocation="http://docs.oasis-open.org/wsn/br-2.xsd"/>
>
> </xsd:schema>
>
> </wsdl:types>
>
>
>
> <!-- ========== NotificationBroker::RegisterPublisher =============
>
> RegisterPublisher(PublisherReference, TopicExpression* ,
>
> [Demand], [InitialTerminationTime])
>
> returns: WS-Resource qualified EPR to a PublisherRegistration -->
>
> <wsdl:message name="RegisterPublisherRequest">
>
> <wsdl:part name="RegisterPublisherRequest"
>
> element="wsn-br:RegisterPublisher"/>
>
> </wsdl:message>
>
>
>
> <wsdl:message name="RegisterPublisherResponse">
>
> <wsdl:part name="RegisterPublisherResponse"
>
> element="wsn-br:RegisterPublisherResponse"/>
>
> </wsdl:message>
>
>
>
> <wsdl:message name="PublisherRegistrationRejectedFault">
>
> <wsdl:part name="PublisherRegistrationRejectedFault"
>
> element="wsn-br:PublisherRegistrationRejectedFault"/>
>
> </wsdl:message>
>
>
>
> <wsdl:message name="PublisherRegistrationFailedFault">
>
> <wsdl:part name="PublisherRegistrationFailedFault"
>
> element="wsn-br:PublisherRegistrationFailedFault"/>
>
> </wsdl:message>
>
>
>
> <wsdl:message name="DestroyRegistrationRequest">
>
> <wsdl:part name="DestroyRegistrationRequest"
>
> element="wsn-br:DestroyRegistration"/>
>
> </wsdl:message>
>
>
>
> <wsdl:message name="DestroyRegistrationResponse">
>
> <wsdl:part name="DestroyRegistrationResponse"
>
> element="wsn-br:DestroyRegistrationResponse"/>
>
> </wsdl:message>
>
>
>
> <wsdl:message name="ResourceNotDestroyedFault">
>
> <wsdl:part name="ResourceNotDestroyedFault"
>
> element="wsn-br:ResourceNotDestroyedFault"/>
>
> </wsdl:message>
>
>
>
> <!-- =================== PortType Definitions ===================== -->
>
>
> <!-- ========== NotificationBroker PortType Definition ============ -->
>
> <wsdl:portType name="NotificationBroker">
>
> <!-- ============= extends NotificationConsumer ============= -->
>
> <wsdl:operation name="Notify">
>
> <wsdl:input message="wsn-bw:Notify" />
>
> </wsdl:operation>
>
>
>
> <!-- ============= extends NotificationProducer ============= -->
>
> <wsdl:operation name="Subscribe">
>
> <wsdl:input message="wsn-bw:SubscribeRequest" />
>
> <wsdl:output message="wsn-bw:SubscribeResponse" />
>
> <wsdl:fault name="ResourceUnknownFault"
>
> message="wsrf-rw:ResourceUnknownFault" />
>
> <wsdl:fault name="InvalidFilterFault"
>
> message="wsn-bw:InvalidFilterFault"/>
>
> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>
> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>
> <wsdl:fault name="InvalidTopicExpressionFault"
>
> message="wsn-bw:InvalidTopicExpressionFault" />
>
> <wsdl:fault name="TopicNotSupportedFault"
>
> message="wsn-bw:TopicNotSupportedFault" />
>
> <wsdl:fault name="InvalidProducerPropertiesExpressionFault"
>
> message="wsn-bw:InvalidProducerPropertiesExpressionFault"/>
>
> <wsdl:fault name="InvalidMessageContentExpressionFault"
>
> message="wsn-bw:InvalidMessageContentExpressionFault"/>
>
> <wsdl:fault name="UnacceptableInitialTerminationTimeFault"
>
> message="wsn-bw:UnacceptableInitialTerminationTimeFault"/>
>
> <wsdl:fault name="UnrecognizedPolicyRequestFault"
>
> message="wsn-bw:UnrecognizedPolicyRequestFault"/>
>
> <wsdl:fault name="UnsupportedPolicyRequestFault"
>
> message="wsn-bw:UnsupportedPolicyRequestFault"/>
>
> <wsdl:fault name="NotifyMessageNotSupportedFault"
>
> message="wsn-bw:NotifyMessageNotSupportedFault"/>
>
> <wsdl:fault name="SubscribeCreationFailedFault"
>
> message="wsn-bw:SubscribeCreationFailedFault"/>
>
> </wsdl:operation>
>
> <wsdl:operation name="GetCurrentMessage">
>
> <wsdl:input message="wsn-bw:GetCurrentMessageRequest"/>
>
> <wsdl:output message="wsn-bw:GetCurrentMessageResponse"/>
>
> <wsdl:fault name="ResourceUnknownFault"
>
> message="wsrf-rw:ResourceUnknownFault"/>
>
> <wsdl:fault name="TopicExpressionDialectUnknownFault"
>
> message="wsn-bw:TopicExpressionDialectUnknownFault"/>
>
> <wsdl:fault name="InvalidTopicExpressionFault"
>
> message="wsn-bw:InvalidTopicExpressionFault"/>
>
> <wsdl:fault name="TopicNotSupportedFault"
>
> message="wsn-bw:TopicNotSupportedFault"/>
>
> <wsdl:fault name="NoCurrentMessageOnTopicFault"
>
> message="wsn-bw:NoCurrentMessageOnTopicFault"/>
>
> <wsdl:fault name="MultipleTopicsSpecifiedFault"
>
> message="wsn-bw:MultipleTopicsSpecifiedFault"/>
>
> </wsdl:operation>
>
>
>
> <!-- ========= extends RegisterPublisher ======= -->
>
>
>
> </wsdl:portType>
>
>
>
> <wsdl:binding name="NotificationBrokerBinding"
> type="tns:NotificationBroker">
>
> <wsdl-soap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http" />
>
>
> <wsdl:operation name="Notify">
> <wsdl-soap:operation soapAction="Notify"/>
> <wsdl:input>
> <wsdl-soap:body
> use="encoded"
>
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>
> </wsdl:input>
> <wsdl:output>
>
> <wsdl-soap:body
>
> use="encoded"
>
>
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>
> </wsdl:output>
> </wsdl:operation>
>
>
>
>
> <wsdl:operation name="Subscribe">
>
> <wsdl-soap:operation
>
>
> soapAction="http://ws.apache.org/muse/test/wsrf/Subscribe" />
>
> <wsdl:input>
>
> <wsdl-soap:body use="encoded" />
>
> </wsdl:input>
>
> <wsdl:output>
>
> <wsdl-soap:body use="encoded" />
>
> </wsdl:output>
>
> <wsdl:fault name="ResourceUnknownFault">
>
> <wsdl-soap:fault
>
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
> name="ResourceUnknownFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="InvalidFilterFault">
>
> <wsdl-soap:fault
>
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded" name="InvalidFilterFault"
> />
>
> </wsdl:fault>
>
> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>
> <wsdl-soap:fault
>
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
> name="TopicExpressionDialectUnknownFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="InvalidTopicExpressionFault">
>
> <wsdl-soap:fault
>
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
> name="InvalidTopicExpressionFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="TopicNotSupportedFault">
>
> <wsdl-soap:fault
>
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
> name="TopicNotSupportedFault" />
>
> </wsdl:fault>
>
> <wsdl:fault
>
> name="InvalidProducerPropertiesExpressionFault">
>
> <wsdl-soap:fault
>
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
>
>
> name="InvalidProducerPropertiesExpressionFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="InvalidMessageContentExpressionFault">
>
> <wsdl-soap:fault
>
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
> name="InvalidMessageContentExpressionFault" />
>
> </wsdl:fault>
>
> <wsdl:fault
>
> name="UnacceptableInitialTerminationTimeFault">
>
> <wsdl-soap:fault
>
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
> name="UnacceptableInitialTerminationTimeFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="UnrecognizedPolicyRequestFault">
>
> <wsdl-soap:fault
>
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
> name="UnrecognizedPolicyRequestFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="UnsupportedPolicyRequestFault">
>
> <wsdl-soap:fault
>
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
> name="UnsupportedPolicyRequestFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="NotifyMessageNotSupportedFault">
>
> <wsdl-soap:fault
>
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
> name="NotifyMessageNotSupportedFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="SubscribeCreationFailedFault">
>
> <wsdl-soap:fault
>
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
> name="SubscribeCreationFailedFault" />
>
> </wsdl:fault>
>
> </wsdl:operation>
>
>
> <wsdl:operation name="GetCurrentMessage">
>
> <wsdl-soap:operation
>
>
> soapAction="http://ws.apache.org/muse/test/wsrf/GetCurrentMessage"/>
>
> <wsdl:input>
>
> <wsdl-soap:body use="encoded" />
>
> </wsdl:input>
>
> <wsdl:output>
>
> <wsdl-soap:body use="encoded" />
>
> </wsdl:output>
>
> <wsdl:fault name="ResourceUnknownFault">
>
> <wsdl-soap:fault
>
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
> name="ResourceUnknownFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="TopicExpressionDialectUnknownFault">
>
> <wsdl-soap:fault
>
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
> name="TopicExpressionDialectUnknownFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="InvalidTopicExpressionFault">
>
> <wsdl-soap:fault
>
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
> name="InvalidTopicExpressionFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="TopicNotSupportedFault">
>
> <wsdl-soap:fault
>
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
> name="TopicNotSupportedFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="NoCurrentMessageOnTopicFault">
>
> <wsdl-soap:fault
>
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
> name="NoCurrentMessageOnTopicFault" />
>
> </wsdl:fault>
>
> <wsdl:fault name="MultipleTopicsSpecifiedFault">
>
> <wsdl-soap:fault
>
>
> namespace="http://ws.apache.org/muse/test/wsrf"
>
> use="encoded"
> name="MultipleTopicsSpecifiedFault" />
>
> </wsdl:fault>
>
> </wsdl:operation>
>
> </wsdl:binding>
>
>
>
>
>
> <wsdl:service name="WsResourceService">
>
> <wsdl:port name="NotificationBrokerPort"
> binding="tns:NotificationBrokerBinding">
>
> <wsdl-soap:address
> location="http://localhost:9090/wsn-producer/services/WsResource"/>
>
> </wsdl:port>
>
> </wsdl:service>
>
> </wsdl:definitions>
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tf4677959.html#
> a13365893
> Sent from the Muse User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: muse-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: muse-user-help@ws.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tf4677959.html#a13383224
Sent from the Muse User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org
RE: Error in wsdl parsing wsdl2java.sh
Posted by le...@bt.com.
I think this email from earlier this year might help out
http://marc.info/?l=muse-user&m=117525841316735&w=2
As to what is Document Literal, this resource might help:
http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/
Sincerely
Lenni
-----Original Message-----
From: alfredo.s.g_uam_spain [mailto:alfredo.salvador@gmail.com]
Sent: 23 October 2007 15:37
To: muse-user@ws.apache.org
Subject: Error in wsdl parsing wsdl2java.sh
I got this error during code generation, but i think all is well
defined..
what is wrong??
An exception was caught: [ID = 'NotDocLiteral'] The WSDL operation
'Notify'
is not doc-literal because it defines a message with more than one
message
part for its SOAP Body. The SOAP Body of a doc-literal message should
contain one root request element (with the operation name) with zero or
more
child elements (the parameters).
What does not doc-literal mean???
in this wsdl:
<wsdl:definitions name="WS-BrokeredNotification"
targetNamespace="http://ws.apache.org/muse/test/wsrf"
xmlns:tns="http://ws.apache.org/muse/test/wsrf"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl-soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2"
xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"
xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2"
xmlns:wst="http://docs.oasis-open.org/wsn/t-1"
xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1"
xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2"
xmlns:wsn-brw="http://docs.oasis-open.org/wsn/brw-2"
xmlns:wsn-b="http://docs.oasis-open.org/wsn/b-2"
xmlns:wsn-bw="http://docs.oasis-open.org/wsn/bw-2"
xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" >
<wsdl:types>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://www.w3.org/2005/08/addressing">
<xsd:include
schemaLocation="WS-Addressing-2005_08.xsd"/>
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex">
<xsd:include
schemaLocation="WS-MetadataExchange-2004_09.xsd"/>
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsrf/rl-2">
<xsd:include
schemaLocation="WS-ResourceLifetime-1_2.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsrf/rp-2">
<xsd:include
schemaLocation="WS-ResourceProperties-1_2.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsrf/r-2">
<xsd:include
schemaLocation="WS-Resource-1_2.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsrf/rmd-1">
<xsd:include
schemaLocation="WS-ResourceMetadataDescriptor-CD-01.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsdm/muws1-2.xsd">
<xsd:include
schemaLocation="WSDM-MUWS-Part1-1_1.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsdm/muws2-2.xsd">
<xsd:include
schemaLocation="WSDM-MUWS-Part2-1_1.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsn/b-2">
<xsd:include
schemaLocation="WS-BaseNotification-1_3.xsd" />
</xsd:schema>
<xsd:schema
elementFormDefault="qualified"
targetNamespace="http://docs.oasis-open.org/wsn/t-1">
<xsd:include schemaLocation="WS-Topics-1_3.xsd"
/>
</xsd:schema>
</wsdl:types>
<!-- ========================== Imports =========================== -->
<wsdl:import namespace="http://docs.oasis-open.org/wsrf/rw-2"
location="http://docs.oasis-open.org/wsrf/rw-2.wsdl"/>
<wsdl:import namespace="http://docs.oasis-open.org/wsn/bw-2"
location="http://docs.oasis-open.org/wsn/bw-2.wsdl"/>
<!-- ===================== Types Definitions ====================== -->
<wsdl:types>
<xsd:schema>
<xsd:import
namespace="http://docs.oasis-open.org/wsn/br-2"
schemaLocation="http://docs.oasis-open.org/wsn/br-2.xsd"/>
</xsd:schema>
</wsdl:types>
<!-- ========== NotificationBroker::RegisterPublisher =============
RegisterPublisher(PublisherReference, TopicExpression* ,
[Demand], [InitialTerminationTime])
returns: WS-Resource qualified EPR to a PublisherRegistration -->
<wsdl:message name="RegisterPublisherRequest">
<wsdl:part name="RegisterPublisherRequest"
element="wsn-br:RegisterPublisher"/>
</wsdl:message>
<wsdl:message name="RegisterPublisherResponse">
<wsdl:part name="RegisterPublisherResponse"
element="wsn-br:RegisterPublisherResponse"/>
</wsdl:message>
<wsdl:message name="PublisherRegistrationRejectedFault">
<wsdl:part name="PublisherRegistrationRejectedFault"
element="wsn-br:PublisherRegistrationRejectedFault"/>
</wsdl:message>
<wsdl:message name="PublisherRegistrationFailedFault">
<wsdl:part name="PublisherRegistrationFailedFault"
element="wsn-br:PublisherRegistrationFailedFault"/>
</wsdl:message>
<wsdl:message name="DestroyRegistrationRequest">
<wsdl:part name="DestroyRegistrationRequest"
element="wsn-br:DestroyRegistration"/>
</wsdl:message>
<wsdl:message name="DestroyRegistrationResponse">
<wsdl:part name="DestroyRegistrationResponse"
element="wsn-br:DestroyRegistrationResponse"/>
</wsdl:message>
<wsdl:message name="ResourceNotDestroyedFault">
<wsdl:part name="ResourceNotDestroyedFault"
element="wsn-br:ResourceNotDestroyedFault"/>
</wsdl:message>
<!-- =================== PortType Definitions ===================== -->
<!-- ========== NotificationBroker PortType Definition ============ -->
<wsdl:portType name="NotificationBroker">
<!-- ============= extends NotificationConsumer ============= -->
<wsdl:operation name="Notify">
<wsdl:input message="wsn-bw:Notify" />
</wsdl:operation>
<!-- ============= extends NotificationProducer ============= -->
<wsdl:operation name="Subscribe">
<wsdl:input message="wsn-bw:SubscribeRequest" />
<wsdl:output message="wsn-bw:SubscribeResponse" />
<wsdl:fault name="ResourceUnknownFault"
message="wsrf-rw:ResourceUnknownFault" />
<wsdl:fault name="InvalidFilterFault"
message="wsn-bw:InvalidFilterFault"/>
<wsdl:fault name="TopicExpressionDialectUnknownFault"
message="wsn-bw:TopicExpressionDialectUnknownFault"/>
<wsdl:fault name="InvalidTopicExpressionFault"
message="wsn-bw:InvalidTopicExpressionFault" />
<wsdl:fault name="TopicNotSupportedFault"
message="wsn-bw:TopicNotSupportedFault" />
<wsdl:fault name="InvalidProducerPropertiesExpressionFault"
message="wsn-bw:InvalidProducerPropertiesExpressionFault"/>
<wsdl:fault name="InvalidMessageContentExpressionFault"
message="wsn-bw:InvalidMessageContentExpressionFault"/>
<wsdl:fault name="UnacceptableInitialTerminationTimeFault"
message="wsn-bw:UnacceptableInitialTerminationTimeFault"/>
<wsdl:fault name="UnrecognizedPolicyRequestFault"
message="wsn-bw:UnrecognizedPolicyRequestFault"/>
<wsdl:fault name="UnsupportedPolicyRequestFault"
message="wsn-bw:UnsupportedPolicyRequestFault"/>
<wsdl:fault name="NotifyMessageNotSupportedFault"
message="wsn-bw:NotifyMessageNotSupportedFault"/>
<wsdl:fault name="SubscribeCreationFailedFault"
message="wsn-bw:SubscribeCreationFailedFault"/>
</wsdl:operation>
<wsdl:operation name="GetCurrentMessage">
<wsdl:input message="wsn-bw:GetCurrentMessageRequest"/>
<wsdl:output message="wsn-bw:GetCurrentMessageResponse"/>
<wsdl:fault name="ResourceUnknownFault"
message="wsrf-rw:ResourceUnknownFault"/>
<wsdl:fault name="TopicExpressionDialectUnknownFault"
message="wsn-bw:TopicExpressionDialectUnknownFault"/>
<wsdl:fault name="InvalidTopicExpressionFault"
message="wsn-bw:InvalidTopicExpressionFault"/>
<wsdl:fault name="TopicNotSupportedFault"
message="wsn-bw:TopicNotSupportedFault"/>
<wsdl:fault name="NoCurrentMessageOnTopicFault"
message="wsn-bw:NoCurrentMessageOnTopicFault"/>
<wsdl:fault name="MultipleTopicsSpecifiedFault"
message="wsn-bw:MultipleTopicsSpecifiedFault"/>
</wsdl:operation>
<!-- ========= extends RegisterPublisher ======= -->
</wsdl:portType>
<wsdl:binding name="NotificationBrokerBinding"
type="tns:NotificationBroker">
<wsdl-soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="Notify">
<wsdl-soap:operation soapAction="Notify"/>
<wsdl:input>
<wsdl-soap:body
use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</wsdl:input>
<wsdl:output>
<wsdl-soap:body
use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Subscribe">
<wsdl-soap:operation
soapAction="http://ws.apache.org/muse/test/wsrf/Subscribe" />
<wsdl:input>
<wsdl-soap:body use="encoded" />
</wsdl:input>
<wsdl:output>
<wsdl-soap:body use="encoded" />
</wsdl:output>
<wsdl:fault name="ResourceUnknownFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded"
name="ResourceUnknownFault" />
</wsdl:fault>
<wsdl:fault name="InvalidFilterFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded" name="InvalidFilterFault"
/>
</wsdl:fault>
<wsdl:fault name="TopicExpressionDialectUnknownFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded"
name="TopicExpressionDialectUnknownFault" />
</wsdl:fault>
<wsdl:fault name="InvalidTopicExpressionFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded"
name="InvalidTopicExpressionFault" />
</wsdl:fault>
<wsdl:fault name="TopicNotSupportedFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded"
name="TopicNotSupportedFault" />
</wsdl:fault>
<wsdl:fault
name="InvalidProducerPropertiesExpressionFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded"
name="InvalidProducerPropertiesExpressionFault" />
</wsdl:fault>
<wsdl:fault name="InvalidMessageContentExpressionFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded"
name="InvalidMessageContentExpressionFault" />
</wsdl:fault>
<wsdl:fault
name="UnacceptableInitialTerminationTimeFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded"
name="UnacceptableInitialTerminationTimeFault" />
</wsdl:fault>
<wsdl:fault name="UnrecognizedPolicyRequestFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded"
name="UnrecognizedPolicyRequestFault" />
</wsdl:fault>
<wsdl:fault name="UnsupportedPolicyRequestFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded"
name="UnsupportedPolicyRequestFault" />
</wsdl:fault>
<wsdl:fault name="NotifyMessageNotSupportedFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded"
name="NotifyMessageNotSupportedFault" />
</wsdl:fault>
<wsdl:fault name="SubscribeCreationFailedFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded"
name="SubscribeCreationFailedFault" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="GetCurrentMessage">
<wsdl-soap:operation
soapAction="http://ws.apache.org/muse/test/wsrf/GetCurrentMessage"/>
<wsdl:input>
<wsdl-soap:body use="encoded" />
</wsdl:input>
<wsdl:output>
<wsdl-soap:body use="encoded" />
</wsdl:output>
<wsdl:fault name="ResourceUnknownFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded"
name="ResourceUnknownFault" />
</wsdl:fault>
<wsdl:fault name="TopicExpressionDialectUnknownFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded"
name="TopicExpressionDialectUnknownFault" />
</wsdl:fault>
<wsdl:fault name="InvalidTopicExpressionFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded"
name="InvalidTopicExpressionFault" />
</wsdl:fault>
<wsdl:fault name="TopicNotSupportedFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded"
name="TopicNotSupportedFault" />
</wsdl:fault>
<wsdl:fault name="NoCurrentMessageOnTopicFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded"
name="NoCurrentMessageOnTopicFault" />
</wsdl:fault>
<wsdl:fault name="MultipleTopicsSpecifiedFault">
<wsdl-soap:fault
namespace="http://ws.apache.org/muse/test/wsrf"
use="encoded"
name="MultipleTopicsSpecifiedFault" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="WsResourceService">
<wsdl:port name="NotificationBrokerPort"
binding="tns:NotificationBrokerBinding">
<wsdl-soap:address
location="http://localhost:9090/wsn-producer/services/WsResource"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
--
View this message in context:
http://www.nabble.com/Error-in-wsdl-parsing-wsdl2java.sh-tf4677959.html#
a13365893
Sent from the Muse User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org