Hi all,
I have a session bean that is trying to access a soap web service, wrap the response and return it to the callee. When I run unit test directly against the code that does the calling i.e. when it is outside the JEE container everything works as planned.
However when I call the code from a standalone ejb test client via the session bean I get the following error in JBOSS:
WARN [ServiceDelegateImpl] Cannot access wsdlURL: https://acme.com/test.wsdl
WARN [ServiceDelegateImpl] Cannot get port meta data for: {http://acme.com/doc/2006-03-01/}TEST
ERROR [TestFacade] There was an error creating a bucket
ERROR [TestFacade] org.jboss.ws.WSException: Target endpoint address not set
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxws-maven-plugin</artifactId> <executions> <execution> <goals> <goal>wsimport</goal> </goals> <configuration> <verbose>true</verbose> <keep>true</keep> <packageName>za.co.jumpingbean.test</packageName> <sourceDestDir>src/main/java</sourceDestDir> <wsdlLocation>https://acme.com/doc/2006-03-01/test.wsdl</wsdlLocation> <!--wsdlUrls><wsdlUrl>https://acme.com/doc/2006-03-01/test.wsdl</wsdlUrl></wsdlUrls--> </configuration> </execution> </executions> </plugin>