JAX-WS Service is not allowed to be child of element HTTP - service

I'm trying to made creating a JAX-WS Service in mule i do a sample from here
I get error in the configuration: Element: JAX-WS Service is not allowed to be child of element HTTP
i install mule 3.3.1 but Mule Studio CE uses mule 3.3.0
<http:inbound-endpoint address="http://localhost:63081/hello" exchange-pattern="request-response">
<cxf:jaxws-service serviceClass="org.example.HelloWorld"/>
</http:inbound-endpoint>

Studio used to have some problem with nested elements, as explained in this Jira
However that has been fixed in the soon to be released Mule 3.4.

Related

Domino client web services and SOAP 1.2

I create a client in Domino to consume a web service that works with SOAP 1.2 and has HTTPBinding.
The client generation tool for Domino Designer Web services an error is displayed when trying to generate reporting that the SOAP accepted version is 1.1.
I decided to create the client with CXF framework through tool wsdl2java. In an agent I used these classes to consume the web service, however the below error was displayed. I think it's because of the SOAP version, but I'm not sure.
com.sun.xml.internal.ws.protocol.soap.MUTube getMisUnderstoodHeaders
INFO: Element not understood={http://www.w3.org/2005/08/addressing}Action
Also generated a jar of classes generated by wsdltojava and imported to another agent, but the error below is displayed.
java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=, offset=6
The question is, no way consume a web service with SOAP 1.2 in Domino only supports up to version 1.1?
Thanks a lot!
I don't believe that Domino's web service consumer supports SOAP 1.2 at this time. You might be able to do what you need with an agent though - here's one way: How can I call a SOAP 1.2 Web service from a LotusScript agent?
In fact there is no way to natively consume a web service with soap version 1.2. There are already several requests from IBM to upgrade the SOAP version. What I did, was to develop a new layer through a new web service with the version SOAP 1.1, which internally calls the web service with the SOAP version 1.2;

Mule IDE plugin for Eclipse url not working (http://dist.muleforge.org/mule-ide/updates-2.1.x/)

Mule id plugin Url is not working. Can any one help to get an alternate url for the same plugin.
http://dist.muleforge.org/mule-ide/updates-2.1.x/
This url is also mentioned in the below tutorial.
http://www.mulesoft.org/documentation-3.2/display/32X/Installing+Mule+ESB+3+and+the+Mule+IDE
Below is the error which i am receiving after accessing this url in browser.
Network Error (tcp_error)
A communication error occurred: "Connection refused"
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.
For assistance, contact your network support team.
Mule version 2X uses the url :- http://dist.muleforge.org/mule-ide/updates-2.1.x/ and for Mule version 3X the url :- http://www.mulesoft.org/documentation-3.2/display/32X/Installing+Mule+ESB+3+and+the+Mule+IDE is being used.
You need to check the version of Mule you are using and need to use the url that matches your Mule version.
If you are using Mule Enterprise edition you can take support from the MuleSoft Support, else if you are not using Enterprise you can post the issue in their forum
I seriously doubt there is still support for the Mule IDE, it was deprecated in favour of Mule Studio (that then became Anypoint Studio).
Do you really need to do a new development on Mule 2.x? If not, please consider using the much better Anypoint studio. If you need to stick to the 2.x version, you could just use a vanilla version of eclipse that will take care of the the autocompletion and then export to the apps directory of a running mule container for a hot deployment.

use WSO2 esb with Rest web services running on Tomcat

i'm very new to ESB.
i want to use WSO2 ESB with java rest web services which are running on tomcat application server. all the communications are done using JSON.
please help..
here is a good tutorial on RESTful integration with WSO2 ESB
http://wso2.com/library/articles/2013/12/restful-integration-with-wso2-esb/
and extra details on JSON support
https://docs.wso2.com/display/ESB480/JSON+Support

CAR Application Deployment doesn't deploy Axis service

In WSO2 ESB (4.7.0), I have added application server feature (4.1.0). My carbon app contains the following artefacts
AxisService (aar)
AxisClientStub (lib)
Mediator (synapse-mediator) that uses the client stub
Error Sequence
Main Sequence (Uses mediator 3)
Out Sequence
REST Api (using the 4,5,6)
When I deploy this CAR file in the ESB, it starts deploying from 3 onwards and cribs that it does not find the client stub library.
What am I missing here?
Developer studio by default, for axis service, capp property is set as capp/ApplicationServer. I changed this to capp/EnterpriseServiceBus. With this change, I am able to deploy my axis services in the ESB thru carbon application
<com.xx.yyy:CCCService:1.1-SNAPSHOT>capp/EnterpriseServiceBus</com.xx.yyy:CCCService:1.1-SNAPSHOT>

Oracle 10g - JAXB unmarshalling is not working as expected

We're using Oracle 10g application server and deployed the Web service and trying to deploy the web service client. Server is working fine i.e.; marshalling is working fine. We're getting the output from the service properly but the search client is not unmarshalling (parsing) the response received. We're using all the tags under same name space so there is no name space problem. Different collections would exists in the XSD. Has anyone faced similar kind of issue? Is there any solution for this?
Thanks
Santhosh
Well... the issue was due to the library which was not running as expected in Java 1.5. We've developed the web service client with JAX-WS 2.2 which was running properly when running with Netbeans IDE 6.8 but not on the standalone server. We've downgraded the Netbeans and modified the libraries to JAX-WS 2.1. It worked...
Good to know. JAX-WS 2.2 is not compatible with Java 1.5