You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "ant elder (JIRA)" <tu...@ws.apache.org> on 2008/04/24 12:37:21 UTC

[jira] Commented: (TUSCANY-2268) Exceptions errors on binding to external web services

    [ https://issues.apache.org/jira/browse/TUSCANY-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591978#action_12591978 ] 

ant elder commented on TUSCANY-2268:
------------------------------------

There's two problems I've noticed so far:

- the interface HelloWorld has the @Remotable commented out with the comment "utile ?", you need this.
  Without  it when everything else is configured ok you'll get the following:
  [java] Exception in thread "main" java.lang.IllegalArgumentException: Can't handle mixed payloads betweem OMElements and other types.

- in the .composite files the <binding.ws> has an incorrect port name of "HelloWorldSoapPort" instead of ""HelloWorldSoap" as defined in the helloworld.wsdl.

Changing those two things gets the client running for me though i can't test it fully as I don't have any service running for it. If you still have trouble invoking the service post the service code so i can help debug that. Apologies that the error messages given for those two problems are so unhelpful, more meaningfull messages would have made that much easier to debug.




> Exceptions errors on binding to external web services
> -----------------------------------------------------
>
>                 Key: TUSCANY-2268
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2268
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.1
>         Environment:  Windows XP, Eclipse 3.3.0 , tuscany incubating 1.1 , java 6
>            Reporter: Marina Deslaugiers
>         Attachments: ws-webhelloworld.zip
>
>
> Hi,
> I am considering  web services that seems to be "doc literal encoded". I began to try the direct connection to them but I did not succeed.
> As these web services are not public ones, I have done a try on a simple (helloworrd) public one without success. Depending, on the binding way (uri, wsdlElement and promoted or not promoted reference) I get different exceptions (some are indicated - within a comment - in the composite files).
> So, what is wrong ?
> I attach the code I wrote; please, would you mind to verify (and correct if necessary) it or send me an equivalent example that works because I need to make it work rapidly now.
> Thanks,
> Marina.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.