Hi all,
 
I am trying to run the sample SAML code (STScenario1.java) and I am having some trouble:
 
- Using Crypto Engine [org.apache.ws.security.saml.SAMLIssuerImpl]
- Using Crypto Engine [org.apache.ws.security.components.crypto.Merlin]
 
Exception in thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 
faultSubcode:
faultString: No client transport named 'http' found!
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:No client transport named 'http' found!
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:170)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at org.apache.ws.axis.oasis.ping.PingBindingStub.ping(PingBindingStub.java:159)
at org.apache.ws.axis.oasis.STScenario1.main(STScenario1.java:93)
 
{http://xml.apache.org/axis/}hostname:bwoo.rsc.eng.shaw.ca
 
No client transport named 'http' found!
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:170)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at org.apache.ws.axis.oasis.ping.PingBindingStub.ping(PingBindingStub.java:159)
at org.apache.ws.axis.oasis.STScenario1.main(STScenario1.java:93)
 
Now, I have made some minor changes to the code which I don't think they are the cause of this:
 
1) I have modified STScenario1.java to load up the deployment descriptor:
 
        EngineConfiguration config = new FileProvider("saml_client.wsdd");
        PingServiceLocator service = new PingServiceLocator(config);
 
saml_client.wsdd is just a simple (copied from the example):
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
 <service name="STPing1">
  <requestFlow>
   <handler type="java:org.apache.ws.axis.security.WSDoAllSender">
    <parameter name="samlPropFile" value="saml.properties"/>
    <parameter name="action" value="Timestamp SAMLTokenUnsigned"/>
   </handler>
  </requestFlow>
 </service>
</deployment>
 
 
2) I had a compile issue and I have took out param.setOmittable(true) and param.setNillable(true) from the stub (PingBindingStub.java).  I don't know why these 2 lines are there but I suspect wsdl2java is buggy.  the ParameterDesc class shouldn't have these 2 public methods anymore.
 
 
I am really close to get this example to run but I don't know why this error has come up.  Can someone give me some guidance?
 
Thanks in advance,
 
Brian

Reply via email to