[
https://issues.apache.org/jira/browse/TUSCANY-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marco Dalcó updated TUSCANY-1684:
---------------------------------
Attachment: ReferenceToJBOSSWSTestCase.zip
This test case builds a jar file to be deployed in JBoss and another one to run
the test.
Use with Tuscany 0.99.
1) set the JBOSS_HOME environment variable to the root directory of your JBoss
5.0.0.Beta2 installation.
2) Unzip the attachment in the tuscany-sca-0.99-incubating\demos directory.
3) Run "ant compile" from within the project directory.
4) Deploy the target/jboss-webservice.jar file in JBoss (copy it to the
%JBOSS_HOME%\server\default\deploy directory).
5) Start JBoss
6) When JBoss has completely started, test that the WebService is correctly
deployed, opening the URL http://localhost:8080/jbossws/services: there should
be a link to the WebService WSDL, like this:
http://<your-host-name>:8080/jboss-webservice/WebServiceImpl?wsdl
7) Run "ant run"
After a few seconds the command should fail and in the [java] ant logs you
should see an error like this:
[java] Caused by: org.apache.axis2.AxisFault: Endpoint
{http://ejb.sca_ws_reference.ubiquity.net/}WebServiceImplPort does not contain
operation meta data for:
{http://ejb.sca_ws_reference.ubiquity.net/xsd}getWelcome
In order to use a proxy logging tool like Trivial Proxy, run and set the tool
to redirecet communications from the port 18080 to the 8080, change the port
number from 8080 to 18080 in the resources\sca\application.composite file of
the project and run "ant run" again.
> Web Service binding incompatibility when referencing a WebService hosted on
> JBoss
> ---------------------------------------------------------------------------------
>
> Key: TUSCANY-1684
> URL: https://issues.apache.org/jira/browse/TUSCANY-1684
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Axis Binding Extension
> Affects Versions: Java-SCA-0.99
> Environment: Windows XP, Tuscany 0.99 downloaded the 10th Sept. 2007,
> JBoss-5.0.0.Beta2
> Reporter: Marco Dalcó
> Attachments: ReferenceToJBOSSWSTestCase.zip
>
>
> Deploy a simple WebService on JBoss. Access it using a tool like SoapUI. It
> works fine. Access it from Tuscany, with a <reference> containing <binding.ws
> uri="http://theUri">. It fails.
> Comparing the messages they send, there are two main differences:
>
> 1) The namespace of the method invoked. In the Tuscany message it has an
> additional "xsd" at the end
> 2) The name of the parameter of the method. It is "arg0" with SoapUI and
> "param0" with Tuscany
>
> It could be a problem of library versions, WebService specifications, a bug
> or whatever.
> I tried the "requires", "wsdli:wsdlLocation", "wsdlElement" in many
> combinations, with no success.
> What is this incompatibility due to?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]