Strange,

let me make a try.

Regards
JB

Madesclair Vivian wrote:
When I use, as you suggest, <http:soap-provider.../> in place of 
<http:endpoint.../> I got an exception in maven, but a build successful. And when 
deploying this SA in servicemix, the deployment fails with an other exception.

To test my service, I use the client.html from the wsdl-first exemple, and to get the 
wsdl, I use "http://172.31.196.135:8192/jbi/Services/Recherche/CA1/?wsdl";. The 
service answer succesfully, but for the wsdl I get :
"HTTP ERROR: 404"
"Unable to find requested resource"
"RequestURI=/jbi/Services/Recherche/CA1/main.wsdl"

Thanks,

Best regards
Vivian MADESCLAIR


-----Message d'origine-----
De : Jean-Baptiste Onofré [mailto:[email protected]] Envoyé : lundi 8 juin 2009 10:35
À : [email protected]
Objet : Re: http-component, wsdl forwarding

Basicly,

using the SOAP HTTP provider, you should be able to display the WSDL. Have you tried something like this:

<http:soap-provider service="MyService"
                    endpoint="MyEndpoint"
                    locationURI="http://yourtomcat:port/service";
                    wsdl="classpath:myservice.wsdl"/>

The myservice.wsdl file should be in a resource directory of your pom.xml.

Regards
JB

Madesclair Vivian wrote:
Hello everybody,
I am new here, new on any mailing list in fact. I am studying ESB, and currently testing servicemix, and I am experiencing a difficulty with the wsdl forwarding of the http component. Let me explain issue. I am exposing a service, named "Recherche", with Apache Axis on Tomcat. This service is working and I can access its wsdl putting "?wsdl" after te URI. Then I used the http component and 2 service units (though now I know one should be enough) to expose it through the servicemix ESB. I can access my service and have it work, but I haven't manage to get its wsdl (I mean the wsdl for the service exposed by the consumer SU) yet. I tryied several way (wsdlResource in the xBean, special service for the wsdl, even putting the wsdl file in the /src/main/resources directory, which is not what I want to do because it would be static) but none succeeded. I spent many hours on this single problem, I'm starting to feel like I tryied everything, so I was hoping somebody could help me here! If my description is not precise enough, feel free to ask. I'm working on a prototype, so there is no secrecy or such things. Many thanks for your consideration! Vivian MADESCLAIR
Stagiaire - Division Midi-Pyrénées - Agence 103
Sopra group.    
Basso Cambo
14 rue Mesplé 31000 Toulouse
Phone : +33 (0)5 61 16 25 06
[email protected] - www.sopragroup.com <http://www.sopragroup.com/> Ce message peut contenir des informations confidentielles dont la divulgation est à ce titre rigoureusement interdite en l'absence d'autorisation explicite de l'émetteur. Dans l'hypothèse où vous auriez reçu par erreur ce message, merci de le renvoyer à l'émetteur et de détruire toute copie.

P Pensez à l'environnement avant d'imprimer.    

Reply via email to