 |
|
 |
 |
|
 |
 |
| Author |
Message |
|
|
Post subject: NoSuchMethodException: getPortClassMap()
Posted: Aug 19, 2008 - 11:26 PM
|
|
Registered Member


Joined: Jul 01, 2006
Posts: 19
|
|
I'm using MyEclipse 6.5.
I created a web service project conforming to JAX-WS.
I generated a WS client pointing to the WSDL URL of my service.
I created a test class as indicated in http://www.myeclipseide.com/documentation/quickstarts/webservices_jaxws/
When I try to create my service:
| Code: | | OrderCashCard2Service service = new OrderCashCard2Service(); |
it throws an exception caused by:
| Code: |
Caused by: java.lang.NoSuchMethodException: com.netspend.socketpcclient.ordercashcard.OrderCashCard2Service.getPortClassMap()
at java.lang.Class.getMethod(Class.java:1581)
at org.codehaus.xfire.jaxws.ServiceDelegate.<init>(ServiceDelegate.java:60)
... 5 more |
is this missing method supposed to be provide by the base class javax.xml.ws.Service or should this have been generated in my service (OrderCashCard2Service).
Is this a bug?
How do I fix this?
I don't have any problem using the Web Services Explorer.
Thanks,
-- Frank |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Aug 20, 2008 - 02:51 PM
|
|
Registered Member


Joined: Jul 01, 2006
Posts: 19
|
|
I noticed that even tho I selected to use JAX-WS, the init method in the stack trace is from xfilre
org.codehaus.xfire.jaxws.ServiceDelegate
Should this be using anything from xfire? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Aug 21, 2008 - 04:04 PM
|
|
Registered Member


Joined: Jul 01, 2006
Posts: 19
|
|
I finally figured out what was going on here.
My client project had some of the old Xfire libraries in it.
When I removed those the problem went away.
Thanks. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Aug 21, 2008 - 11:13 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5657
|
|
| Glad you figured out the issue. Thanks for letting me know. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
| |
|
|
 |
|
 |
|
|
|
 |