Greetings,

I am creating a custom transprot that uses a socket library developed by my client but I cant get Axis to actually see the transport. For reference I will attach a zipped version of the source so you can see what is going on. Where exactly to I need to "glue" the transport into axis. I have folowed the TCP example to no avail. Currently my goal is JUST to get the transport to be seen and get the exception I hardcoded into the invoke method in CandySender.. In the end, the invoke method of the sender will have the movement of the data over my client's library. As it is now I get the following logging:

0 DEBUG [main] org.apache.axis.configuration.EngineConfigurationFactoryFinder - Factory org.apache.axis.configuration.EngineConfigurationFactoryServlet Ignored: unable to load/resolve class.
16 DEBUG [main] org.apache.axis.configuration.EngineConfigurationFactoryFinder - Got EngineFactory: org.apache.axis.configuration.EngineConfigurationFactoryDefault
16 DEBUG [main] org.apache.axis.AxisEngine - Enter: AxisEngine::init
110 DEBUG [main] org.apache.axis.utils.JavaUtils - Attachment support is enabled? false
110 WARN [main] org.apache.axis.utils.JavaUtils - Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
313 DEBUG [main] org.apache.axis.AxisEngine - Exit: AxisEngine::init
532 DEBUG [main] com.bmw.candy.candiedAxis.transport.CandiedTransport - CandiedTransport(): Transport Setup Complete
>>> T1
532 DEBUG [main] org.apache.axis.client.Call - Transport is [EMAIL PROTECTED]
547 DEBUG [main] org.apache.axis.description.OperationDesc - @18f5824setReturnType({http://www.w3.org/2001/XMLSchema}string)
547 DEBUG [main] org.apache.axis.client.Call - Enter: Call::invoke(ns, meth, args)
547 DEBUG [main] org.apache.axis.client.Call - operation=name: null
returnQName: null
returnType: {http://www.w3.org/2001/XMLSchema}string
returnClass: class java.lang.String
elementQName:null
soapAction: null
style: rpc
use: encoded
numInParams: 0
method:null


547 DEBUG [main] org.apache.axis.client.Call - operation.getNumParams()=0
563 DEBUG [main] org.apache.axis.client.Call - Enter: Call::invoke(RPCElement)
579 DEBUG [main] org.apache.axis.Message - Attachment support is enabled? false
735 DEBUG [main] org.apache.axis.SOAPPart - Enter: SOAPPart ctor(FORM_SOAPENVELOPE)
735 DEBUG [main] org.apache.axis.SOAPPart - Setting current message form to: FORM_SOAPENVELOPE (currentMessage is now org.apache.axis.message.SOAPEnvelope)
735 DEBUG [main] org.apache.axis.SOAPPart - Exit: SOAPPart ctor()
735 DEBUG [main] org.apache.axis.message.SOAPBody - Adding body element to message...
735 DEBUG [main] org.apache.axis.client.Call - Enter: Call::invoke()
735 DEBUG [main] org.apache.axis.SOAPPart - Enter: SOAPPart::getAsSOAPEnvelope()
735 DEBUG [main] org.apache.axis.SOAPPart - current form is FORM_SOAPENVELOPE
735 DEBUG [main] org.apache.axis.MessageContext - MessageContext: setTargetService(http://localhost:8080/Candied_Services/services/Version)
735 DEBUG [main] org.apache.axis.ConfigurationException - Exception:
org.apache.axis.ConfigurationException: No service named http://localhost:8080/Candied_Services/services/Version is available
org.apache.axis.ConfigurationException: No service named http://localhost:8080/Candied_Services/services/Version is available
at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:228)
at org.apache.axis.AxisEngine.getService(AxisEngine.java:290)
at org.apache.axis.MessageContext.setTargetService(MessageContext.java:755)
at org.apache.axis.client.Call.invoke(Call.java:2661)
at org.apache.axis.client.Call.invoke(Call.java:2396)
at org.apache.axis.client.Call.invoke(Call.java:2319)
at org.apache.axis.client.Call.invoke(Call.java:1776)
at com.bmw.candy.candiedAxis.transport.candy.test.TestCandyTransport.main(TestCandyTransport.java:70)


at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:228)
at org.apache.axis.AxisEngine.getService(AxisEngine.java:290)
at org.apache.axis.MessageContext.setTargetService(MessageContext.java:755)
at org.apache.axis.client.Call.invoke(Call.java:2661)
at org.apache.axis.client.Call.invoke(Call.java:2396)
at org.apache.axis.client.Call.invoke(Call.java:2319)
at org.apache.axis.client.Call.invoke(Call.java:1776)
at com.bmw.candy.candiedAxis.transport.candy.test.TestCandyTransport.main(TestCandyTransport.java:70)
750 DEBUG [main] org.apache.axis.MessageContext - MessageContext: setServiceHandler(null)
750 DEBUG [main] org.apache.axis.client.Call - Target service: http://localhost:8080/Candied_Services/services/Version
Setup
750 DEBUG [main] org.apache.axis.SOAPPart - Enter: SOAPPart::getAsSOAPEnvelope()
750 DEBUG [main] org.apache.axis.SOAPPart - current form is FORM_SOAPENVELOPE
750 DEBUG [main] org.apache.axis.client.Call - <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><soapenv:Body><ns1:getVersion soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns1="http://localhost:8080/Candied_Services/services/Version"/></soapenv:Body></soapenv:Envelope>
766 DEBUG [main] org.apache.axis.client.AxisClient - Enter: AxisClient::invoke
766 DEBUG [main] org.apache.axis.client.AxisClient - EngineHandler: null
766 DEBUG [main] org.apache.axis.client.AxisClient - Exception:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: No client transport named 'candy' found!
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:No client transport named 'candy' found!
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:150)
at org.apache.axis.client.Call.invokeEngine(Call.java:2737)
at org.apache.axis.client.Call.invoke(Call.java:2720)
at org.apache.axis.client.Call.invoke(Call.java:2396)
at org.apache.axis.client.Call.invoke(Call.java:2319)
at org.apache.axis.client.Call.invoke(Call.java:1776)
at com.bmw.candy.candiedAxis.transport.candy.test.TestCandyTransport.main(TestCandyTransport.java:70)


   {http://xml.apache.org/axis/}hostname:pc3

No client transport named 'candy' found!
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:150)
at org.apache.axis.client.Call.invokeEngine(Call.java:2737)
at org.apache.axis.client.Call.invoke(Call.java:2720)
at org.apache.axis.client.Call.invoke(Call.java:2396)
at org.apache.axis.client.Call.invoke(Call.java:2319)
at org.apache.axis.client.Call.invoke(Call.java:1776)
at com.bmw.candy.candiedAxis.transport.candy.test.TestCandyTransport.main(TestCandyTransport.java:70)
766 DEBUG [main] org.apache.axis.enterprise - Mapping Exception to AxisFault
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: No client transport named 'candy' found!
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:No client transport named 'candy' found!
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:150)
at org.apache.axis.client.Call.invokeEngine(Call.java:2737)
at org.apache.axis.client.Call.invoke(Call.java:2720)
at org.apache.axis.client.Call.invoke(Call.java:2396)
at org.apache.axis.client.Call.invoke(Call.java:2319)
at org.apache.axis.client.Call.invoke(Call.java:1776)
at com.bmw.candy.candiedAxis.transport.candy.test.TestCandyTransport.main(TestCandyTransport.java:70)


   {http://xml.apache.org/axis/}hostname:pc3

No client transport named 'candy' found!
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:150)
at org.apache.axis.client.Call.invokeEngine(Call.java:2737)
at org.apache.axis.client.Call.invoke(Call.java:2720)
at org.apache.axis.client.Call.invoke(Call.java:2396)
at org.apache.axis.client.Call.invoke(Call.java:2319)
at org.apache.axis.client.Call.invoke(Call.java:1776)
at com.bmw.candy.candiedAxis.transport.candy.test.TestCandyTransport.main(TestCandyTransport.java:70)
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: No client transport named 'candy' found!
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:No client transport named 'candy' found!
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:150)
at org.apache.axis.client.Call.invokeEngine(Call.java:2737)
at org.apache.axis.client.Call.invoke(Call.java:2720)
at org.apache.axis.client.Call.invoke(Call.java:2396)
at org.apache.axis.client.Call.invoke(Call.java:2319)
at org.apache.axis.client.Call.invoke(Call.java:1776)
at com.bmw.candy.candiedAxis.transport.candy.test.TestCandyTransport.main(TestCandyTransport.java:70)


   {http://xml.apache.org/axis/}hostname:pc3

No client transport named 'candy' found!
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:150)
at org.apache.axis.client.Call.invokeEngine(Call.java:2737)
at org.apache.axis.client.Call.invoke(Call.java:2720)
at org.apache.axis.client.Call.invoke(Call.java:2396)
at org.apache.axis.client.Call.invoke(Call.java:2319)
at org.apache.axis.client.Call.invoke(Call.java:1776)
at com.bmw.candy.candiedAxis.transport.candy.test.TestCandyTransport.main(TestCandyTransport.java:70)



Any help would be appreciated.

-- Robert
begin:vcard
fn:Robert Simmons Jr
n:Simmons Jr;Robert
org:jambit GmbH
adr;quoted-printable:;;R=C3=B6ntgenstrasse 7;Martinsried;;82152;Germany
email;internet:[EMAIL PROTECTED]
title:Senior Software Architect / Consultant
note:Author: "Hardcore Java", O'Reilly and Associates, (2004) http://www.oreilly.com/catalog/hardcorejv/index.html
x-mozilla-html:TRUE
url:http://www.jambit.com
version:2.1
end:vcard

Reply via email to