Using Java 5 Annotations [META-INF/xfire/services.xml]: Initialization of bean
failed; nested exception is java.lang.NoSuchMethodError:
javax.jws.WebService.portName()Ljava/lang/String;
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: XFIRE-1083
URL: http://jira.codehaus.org/browse/XFIRE-1083
Project: XFire
Issue Type: Bug
Components: Annotations
Affects Versions: 1.2.6
Environment: weblogic 9.2 windows
Reporter: Kattubadi Basher
Assignee: Dan Diephouse
Creating web services , Used Xfires , i got wsdl
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1"
minOccurs="1" name="in0" nillable="true" type="xsd:integer"/>
<xsd:element maxOccurs="1"
minOccurs="1" name="in1" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1"
minOccurs="1" name="in2" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1"
minOccurs="1" name="in3" nillable="true" type="xsd:integer"/>
</xsd:sequence>
</xsd:complexType>
name =in01,in01,in02 etc are comming , i want proper names in those, So i
decided to use Annotations.i follow the same as
http://xfire.codehaus.org/JSR+181+Annotations
I added my service.xml as
<service>
<name>ServiceName</name>
<namespace>urn:your:namespace</namespace>
<serviceClass>your.service.Class</serviceClass>
<serviceFactory>org.codehaus.xfire.jaxws.JAXWSServiceFactory</serviceFactory>
</service>
When i add JAXWSServiceFactory i am getting java.lang.NoSuchMethodError:
javax.jws.WebService.portName()Ljava/lang/String;
PLease suggust me Or tell me is there any way to get Elelement names in WSDL as
i want insted of in0,in1,in2 etc.
U can send me the anser to my email to [EMAIL PROTECTED]
Thanks in advance
Basher
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email