0

I have implemented a Java Adapter in MobileFirst Foundation 8.0. In this adapter I would like to integrate with web Services Client Jax-WS. I had called the services from generated client by eclipse. But when I built the program ( mvn install ), it's showing errors, it seems I cannot get the axis lib.

.... package org.apache.axis.client does not exist

lib:
axis-ant.jar
axis.jar
.......

Anyone can help me for this errors. Do I need to add in pom.xml dependency to get the lib because this jar is generated.

Idan Adar
  • 44,156
  • 13
  • 50
  • 89
fndong
  • 81
  • 2
  • 11
  • MobileFirst server sits on a Java EE server. Which are you using? In WebSphere, for instance, if you specifically use `org.apache.axis` classes, you might not have access to them without packaging them in your pom and adapter. Do you need the Axis classes specifically, as opposed to just using the jax-ws ones? – dbreaux Feb 21 '17 at 04:26

1 Answers1

0

Note: Java adapters are based on the JAX-RS specification and expose a full REST API to the client. In other words, a Java adapter is a JAX-RS service that can be deployed to MobileFirst Server.

Refer: Java adapters

vin.app
  • 296
  • 2
  • 10
  • thanks for the info, how about JAX-RS in adapter call existing record from JAX-WS Service.. – fndong Feb 17 '17 at 09:32
  • If your looking at invoking the WS from the adapter, yes that is possible. You can refer to the sample [here](https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/adapters/java-adapters/java-http-adapter/) – S.A.Norton Stanley Feb 17 '17 at 12:19
  • thanks, i'll move to using java Http, but when i read this http://stackoverflow.com/a/33077089/6042785 , it view that MobileFirst have problem with jax-ws lib, web services client in java. – fndong Feb 20 '17 at 01:33
  • Does MobileFirst Server support axis.jar axis-ant.jar lib...can anyone confirm? – fndong Feb 20 '17 at 04:47