aspose file tools*
The moose likes Web Services and the fly likes Replace METRO implementation for Web Services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Replace METRO implementation for Web Services" Watch "Replace METRO implementation for Web Services" New topic

Replace METRO implementation for Web Services

Marcelo Tataje
Ranch Hand

Joined: Jan 31, 2011
Posts: 64

Hi everybody, well, I've been racking my brain searching for libraries to migrate a Web Service which is implemented with METRO to another implementation such as AXIS2 or using common libraries from IBM WebSphere. For instance, METRO libraries contains: webservices-api.jar or webservices-rt.jar and so on. I'm finding a way to replace METRO for other library. When I remove webservices-rt, for example, Header and HeaderList are not recognized anymore in my Netbeans IDE, maybe there are another libraries provided by IBM I could use... If any suggestion, idea or recommendation will be welcomed, since I don't know how to start without any helpful information in google. Thanks in advance.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39547
What package are those classes from? The JEE 6 API does not contain a HeaderList class, so I'm guessing they're internal classes of Metro. As long as you stick to the public APIs (like JAX-WS and SAAJ) you should have no problem using Axis2 instead of Metro.

Ping & DNS - updated with new look and Ping home screen widget
Marcelo Tataje
Ranch Hand

Joined: Jan 31, 2011
Posts: 64

Yeah, all that classes comes from internal metro libraries such:
But now I have to migrate a wsdl that is using SAML, XML and SOAP to use AXIS2, JAXWS or something directly related with IBM or maybe a public library that I ccan attach to my WebService and make it run.

Thank you very much!
I agree. Here's the link:
subject: Replace METRO implementation for Web Services
Similar Threads
Help regarding Security Header
Using UnManaged Web Services Client with WS-Policy
Confused about jaxws/metro versions
Web Services Security in tomcat6
Jax-ws and apache axis