Thanks Wouter,
I'll keep playing with this - but I really need to get tcpmon working as a service proxy, as then I can test against multiple clients (ie I don't have to reconfig each client, with clients implemented by others, and with different technologies).
Simon
Wouter Zoons wrote:
Hi,
JBOSS 4.0.1sp1, Andro 3.0M3
I'm new to androMDA, and have started with animalQuiz. Thats all working - but now I want to startup the axis tcpmon and check the soap messages going between the struts front end and the service backend.
Checking the jboss doco, it says I must get jboss to use a different port (say 7070), and have tcpmon read from this port. I'm told to change the WebServicePort attribute to 7070 in jboss-ws4ee.sar/META-INF/jboss-service.xml. Problem is, I undeployed jboss-ws4ee.sar (as I understood axis as being bundled in the animalQuiz ear), and can't find jboss-service.xml anywhere else in the deploy directory.
Can anyone point me to where I can set jboss to use 7070 in this config? I'm not sure where to start.
what I used to do was having the WebServices call sent to some new custom port and have TcpMon redirect it to the standard 8080 (so when TcpMon is not running the application would never be called)
but for this to work the client stubs need to know about that custom port
DecisionService.wsdl (from /webservice/target/src) contains this code:
<!-- Service Definition --> <wsdl:service name="DecisionServiceService"> <wsdl:documentation>
</wsdl:documentation> <wsdl:port binding="impl:DecisionServiceSoapBinding" name="DecisionService"> <wsdlsoap:address location="http://localhost:8080/andromda/samples-ws/services/DecisionService"/> </wsdl:port> </wsdl:service>
so you should change that 8080 there, I did not really test this but I think you can tune it with the "wsdlSoapAddress" namespace property
good luck -- Wouter
I forgot to mention you can find the namespace properties listed here: http://galaxy.andromda.org/docs/andromda-webservice-cartridge/namespace.html
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r _______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user
------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
