[jboss-user] [JBoss Web Services Users] - Generating JBossWS SOAP/JMS document literal using wsconsume

quartelh do-not-reply at jboss.com
Mon Oct 26 07:34:38 EDT 2009


using wsconsume to generate the service works fine for SOAP/HTTP document/literal wsdls.

However, I run into the problem that when I change the binding to use JMS the Service and interface classes are not generated.

When I change from document to RPC style it works.

I include the binding and service snippet of the WSDL.

<wsdl:binding name="AuditLogServiceBinding" type="logs:AuditLogServicePortType">
  | 		<soap:binding style="document" transport="http://www.example.org/2006/06/soap/bindings/JMS/"/>
  | 		<wsdl:operation name="GetResponseMessage">
  | 			<soap:operation soapAction="GetResponseMessage" style="document"/>
  | 			<wsdl:input>
  | 				<soap:body parts="GetResponseMessageRequest" use="literal"/>
  | 			</wsdl:input>
  | 			<wsdl:output>
  | 				<soap:body parts="GetResponseMessageResponse" use="literal"/>
  | 			</wsdl:output>
  | 		</wsdl:operation>
  | 		<wsdl:operation name="LogMessage">
  | 			<soap:operation soapAction="LogMessage" style="document"/>
  | 			<wsdl:input>
  | 				<soap:body parts="LogMessageRequest" use="literal"/>
  | 			</wsdl:input>
  | 		</wsdl:operation>
  | 	</wsdl:binding>
  | 	<wsdl:service name="AuditLogService">
  | 		<wsdl:port name="AuditLogService" binding="logs:AuditLogServiceBinding">
  | 			<soap:address location="jms://queue/AuditLogService?replyToName=queue/AuditLogServiceResponse"/>
  | 		</wsdl:port>
  | 	</wsdl:service>

Is there anything I specified wrong that causes the problem? What should the transport definition be for JBossWS?

Any help is greatly appreciated!

Thanks in advance,

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262149#4262149

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262149

More information about the jboss-user mailing list