[Users] Testing the XSLT component

vzurczak vincent.zurczak at petalslink.com
Wed Mar 16 11:04:41 CET 2011


Hi, :) 

I guess your error comes from the SOAP configuration.
In your consume, you must have put a wrong MEP. It should be InOut.

In fact, your SOAP consume should look like:


Code:

...

<!-- Expose a Petals Service => consumes a Service. -->
<jbi:consumes
	interface-name="..."
	service-name="..."
	endpoint-name="...">
	
	<!-- CDK specific elements -->
	<petalsCDK:timeout>30000</petalsCDK:timeout>
	<petalsCDK:operation xmlns:gen0="http://petals.ow2.org/components/xslt/version-2">gen0:transform</petalsCDK:operation>
	<petalsCDK:mep>InOut</petalsCDK:mep>
		
	<!-- Component specific elements -->	
	<soap:address>Xslt</soap:address>
	<soap:remove-root>false</soap:remove-root>
	<soap:mode>SOAP</soap:mode>
	<soap:rest-add-namespace-prefix>soapbc</soap:rest-add-namespace-prefix>
	<soap:enable-http-transport>true</soap:enable-http-transport>
	<soap:enable-jms-transport>false</soap:enable-jms-transport>
</jbi:consumes>



Notice that the next version of the SOAP BC won't need this information.
The MEP will be found out correctly from the request, which is not the case in previously released versions.
And the operations are already found out correctly.
Putting the right MEP should fix your error. ;) 

Besides, and independently of your problem, you should know that at the origin, the XSLT services were not designed to be described by a WSDL.
The one which is generated by the studio aims at simplifying its creation. But in practice, the WSDL and the XSL style sheet are tightly coupled.
You may have to update the name of the root elements in the WSDL, depending on the content of your XSL style sheet. 
This is important if you plan to create Web Service clients behind. If you directly work with XML messages, that should be OK though.




-------------------- m2f --------------------

Subscribe/Unsubscribe emails notifications :
http://forum.petalslink.com/m2f_usercp.php

Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)

Read the topic online:
http://forum.petalslink.com/viewtopic.php?p=31517#31517

-------------------- m2f --------------------






More information about the Users mailing list