axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Rajkovic <eric.rajko...@oracle.com>
Subject RE: wsdl2java does not understand the 'soapAction' attribute in /definitions/portType/operation
Date Thu, 16 Dec 2004 20:53:31 GMT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:eXclaimer = 
"http://www.exclaimer.co.uk"><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=832203120-16122004><FONT face=Arial 
color=#0000ff size=2>Christian,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=832203120-16122004><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=832203120-16122004><FONT face=Arial 
color=#0000ff size=2>the soapAction attribute is only valid for the binding 
element, not the portType element</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=832203120-16122004><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=832203120-16122004><FONT face=Arial 
color=#0000ff size=2>replace</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=832203120-16122004><FONT face=Arial 
color=#0000ff size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;operation 
name="Execute" soapAction="<A 
href="http://localhost:8090/action/HelloWorld.Execute">http://localhost:8090/action/HelloWorld.Execute</A>"

parameterOrder="nameParam"&gt;<BR></FONT>&nbsp;<FONT face=Arial color=#0000ff

size=2>with </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=832203120-16122004><FONT face=Arial 
color=#0000ff size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;operation 
name="Execute"&nbsp;parameterOrder="nameParam"&gt;<BR></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=832203120-16122004><FONT face=Arial 
color=#0000ff size=2>and it should work.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=832203120-16122004><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=832203120-16122004><FONT face=Arial 
color=#0000ff size=2>Also, you could use WS-I tool to validate your 
WSDL:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=832203120-16122004><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=832203120-16122004><FONT face=Arial 
color=#0000ff size=2>Exception: <BR>org.xml.sax.SAXException: Error: 
cvc-complex-type.3.2.2: Attribute 'xa:default' is not allowed to appear in 
element 'documentation'.<BR>&nbsp;at 
org.apache.xerces.parsers.DOMParser.parse(Unknown Source)<BR>&nbsp;at 
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)<BR>&nbsp;at 
org.wsi.xml.XMLUtils.parseXML(Unknown Source)<BR>&nbsp;at 
org.wsi.test.profile.validator.impl.WSDLValidatorImpl$WSI2703.validate(Unknown 
Source)<BR>&nbsp;at 
org.wsi.test.profile.validator.impl.BaseValidatorImpl.processAssertions(Unknown 
Source)<BR>&nbsp;at 
org.wsi.test.profile.validator.impl.WSDLValidatorImpl.processDefinitionAssertions(Unknown

Source)<BR>&nbsp;at 
org.wsi.test.profile.validator.impl.WSDLValidatorImpl.validate(Unknown 
Source)<BR>&nbsp;at 
org.wsi.test.analyzer.BasicProfileAnalyzer.validateWSDL(Unknown 
Source)<BR>&nbsp;at 
org.wsi.test.analyzer.BasicProfileAnalyzer.validateConformance(Unknown 
Source)<BR>&nbsp;at org.wsi.test.analyzer.BasicProfileAnalyzer.main(Unknown 
Source)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=832203120-16122004><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=832203120-16122004><FONT face=Arial 
color=#0000ff size=2>eric</DIV></FONT></SPAN><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Faucher, Christian 
[mailto:Christian.Faucher@axa-canada.com] <BR><B>Sent:</B> Thursday, December

16, 2004 6:13 AM<BR><B>To:</B> axis-user@ws.apache.org<BR><B>Subject:</B>

wsdl2java does not understand the 'soapAction' attribute in 
/definitions/portType/operation<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=886120322-15122004>Greetings,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=886120322-15122004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=886120322-15122004>I am trying
to 
generate Java stubs from&nbsp;WSDL (see attached WSDL).&nbsp; I get the 
following error from wsdl2java (see below), running Axis 1.2 RC2.&nbsp; My WSDL 
is generated from XAware product, and seems to work, at least from what WSDL 
test tools from XAware tell me.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=886120322-15122004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=886120322-15122004>Any 
idea?</SPAN></FONT></DIV><FONT face=Arial size=2><SPAN class=886120322-15122004>
<DIV><BR>Christian Faucher</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>WSDLException (at 
/definitions/portType/operation): faultCode=INVALID_WSDL: Enco<BR>untered 
illegal extension attribute 'soapAction'. Extension attributes must be in a 
namespace other than WSDL's.:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
at 
com.ibm.wsdl.xml.WSDLReaderImpl.parseExtensibilityAttributes(Unknown<BR>Source)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

at com.ibm.wsdl.xml.WSDLReaderImpl.parseOperation(Unknown 
Source)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at

com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown 
Source)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at

com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown 
Source)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at

com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown 
Source)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at

com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown 
Source)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at

com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown 
Source)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at

org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav<BR>a:504)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

at 
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav<BR>a:483)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

at 
org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:356)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

at java.lang.Thread.run(Thread.java:534)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV align=left><FONT face=Arial 
size=2>_______________________________</FONT></DIV>
<DIV align=left><FONT face=Arial size=2><STRONG>Christian 
Faucher</STRONG></FONT></DIV>
<DIV align=left><FONT face=Arial size=1><EM>Développeur 
Java/J2EE</EM></FONT></DIV>
<DIV align=left><FONT face=Arial size=1><EM>AXA Canada</EM></FONT></DIV>
<DIV align=left><FONT face=Arial size=1><A 
href="mailto:christian.faucher@axa-canada.com"><EM>christian.faucher@axa-canada.com</EM></A></FONT></DIV>
<DIV align=left><FONT face=Arial size=1><EM>(514) 282-6817&nbsp;ext.

2943</EM></FONT></DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV>
<HR>
</DIV>
<DIV style="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">"Ce message est 
confidentiel, à l'usage exclusif du destinataire ci-dessus et son contenu ne 
représente en aucun cas un engagement de la part de AXA, sauf en cas de 
stipulation expresse et par écrit de la part de AXA. Toute publication, 
utilisation ou diffusion, même partielle, doit être autorisée préalablement. Si 
vous n'êtes pas destinataire de ce message, merci d'en avertir immédiatement 
l'expéditeur."<BR><BR>"This e-mail message is confidential, for the exclusive

use of the addressee and its contents shall not constitute a commitment by AXA, 
except as otherwise specifically provided in writing by AXA. Any unauthorized 
disclosure, use or dissemination, either whole or partial, is prohibited. If you 
are not the intended recipient of the message, please notify the sender 
immediately."<FONT size=+0> </FONT><FONT size=+0></FONT></DIV></BODY></HTML>


Mime
View raw message