Hi,
I having some troubles with the FileSystemConfigurator.
If I set both the repository dir and the axis configuration file, (like
in the code sample) it seams like the config File is ignored.
The modules are loaded, but not used in the send message.
If I set null for the repository dir it works. But eclipse can't handle
*.mar files in the class path :-(
so what can I do?
Thank you
-- Daniel Wehrle
----------------------------------------------------------------------------------------------------------------------
public ConfigurationContext getConfigContext() throws
MalformedURLException, AxisFault{
File f = new File("iJCli.axis2.xml");
URL axis2URL = f.toURL();
System.out.println(axis2URL.getPath());
File dir1 = new File (".");
// Create the Configuration including Repository and
Configuration file
FileSystemConfigurator cfg8r = new
FileSystemConfigurator(dir1.getAbsolutePath(), axis2URL.getPath());
AxisConfiguration cfg = cfg8r.getAxisConfiguration();
//HashMap map = cfg.getModules();
return new ConfigurationContext(cfg);
}// -- getConfigContext
----------------------------------------------------------------------------------------------------------------------
Dec 19, 2006 10:50:28 AM org.apache.axis2.deployment.DeploymentEngine
prepareRepository
INFO: no services directory found under Y:\workspace-1.1\axisNightly
Dec 19, 2006 10:50:28 AM org.apache.axis2.deployment.DeploymentEngine
doDeploy
INFO: Deploying module : addressing-1.1
Dec 19, 2006 10:50:28 AM org.apache.axis2.deployment.DeploymentEngine
doDeploy
INFO: Deploying module : rahas-1.1
Dec 19, 2006 10:50:28 AM org.apache.axis2.deployment.DeploymentEngine
doDeploy
INFO: Deploying module : rampart-1.1
Exception in thread "main" org.apache.axis2.AxisFault:
Microsoft.Web.Services3.Security.SecurityFault: Header
http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate
recipient is required but not present in the message.
at
Microsoft.Web.Services3.Design.RequireSoapHeaderAssertion.RequireSoapHeaderFilter.ProcessMessage(SoapEnvelope
envelope)
at Microsoft.Web.Services3.Pipeline.ProcessInputMessage(SoapEnvelope
envelope)
at Microsoft.Web.Services3.WseProtocol.FilterRequest(SoapEnvelope
requestEnvelope)
at Microsoft.Web.Services3.WseProtocol.RouteRequest(SoapServerMessage
message)
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type
type, HttpContext context, HttpRequest request, HttpResponse response,
Boolean& abortProcessing)
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:308)
at com.iternity.www.WormRaidStub.GetSystemInfo(WormRaidStub.java:663)
at start.iTernityHelper.GetSytemInfo(iTernityHelper.java:349)
at start.iTernityHelper.switchCommand(iTernityHelper.java:106)
at start.iTernityHelper.main(iTernityHelper.java:97)
----------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]