Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » How to use axis2 commandline options in Eclipse(Dsiabling namespace prefixes in SOAP messages from within Eclipse)
How to use axis2 commandline options in Eclipse [message #1019088] Fri, 15 March 2013 02:30
Snoop Dogg is currently offline Snoop DoggFriend
Messages: 1
Registered: March 2013
Junior Member

So I just started using Eclipse JUNO WTP and axis2 with apache 7.0 web server.

I'm trying to deploy a WS Client for a third part webservice. The problem is the SOAP messages sent by axis2 contain namespace prefixes (ns1, ns2, etc) by default. The webservice does not expect this and is flagging a fault

How I do disable the namespace prefixes in the emitted SOAP messages? I know about the -sp (suppress prefixes) option in WSDL2Java, but how do I specify it in Eclipse?

Current emitted SOAP Message
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="w3org url here">
<ns3:RequestRegister xmlns:ns3="valid url here">

Desired SOAP message
<soapenv:Envelope xmlns:soapenv="w3 org url here">
<RequestRegister xmlns="valid url here">

Any way to tell that I don't want the prefixes to be in the emitted SOAP messages?

[Updated on: Tue, 26 March 2013 00:48]

Report message to a moderator

Previous Topic:JavaScript project reindexing
Next Topic:JavaScript Inferrer and TypeBinding
Goto Forum:

Current Time: Mon Jun 18 00:28:01 GMT 2018

Powered by FUDForum. Page generated in 0.01705 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top