axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergio (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-2553) When using custom protocol (eg myhttps) AxisFault caused by MalformedURLException is thrown during web sevice invocation
Date Tue, 17 Apr 2007 21:25:15 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-2553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489547
] 

Sergio commented on AXIS2-2553:
-------------------------------

complete stack trace is attached

org.apache.axis2.AxisFault: unknown protocol: myhttps
	at org.apache.axis2.AxisFault.makeFault(AxisFault.java:377)
	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:313)
	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:202)
	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:446)
	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:330)
	at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
	at com.none.platform.integration.wsdl2.ConfiguratorStub.CanConnect(ConfiguratorStub.java:3335)
	at com.none.platform.integration.DataManager2.checkConnUser(NDEX_DataManager2.java:773)
	at com.none.platform.integration.ApplicationIntegrationManager.authenticateEA(ApplicationIntegrationManager.java:144)
	at com.none.platform.security.SecurityManager.authenticateEA(SecurityManager.java:284)
	at com.none.platform.messaging.BinaryMessageProcessor.processEALogin(BinaryMessageProcessor.java:689)
	at com.none.platform.messaging.BinaryMessageProcessor.processLoginMessage(BinaryMessageProcessor.java:486)
	at com.none.platform.messaging.BinaryMessageProcessor.process(BinaryMessageProcessor.java:299)
	at com.none.platform.messaging.sockets.IOProcess$6.run(IOProcess.java:578)
	at com.none.platform.concurrency.WorkUnitThread.run(WorkUnitThread.java:120)
Caused by: java.net.MalformedURLException: unknown protocol: myhttps
	at java.net.URL.<init>(URL.java:574)
	at java.net.URL.<init>(URL.java:464)
	at java.net.URL.<init>(URL.java:413)
	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:288)
	... 13 more



> When using custom protocol (eg myhttps) AxisFault caused by MalformedURLException is
thrown during web sevice invocation
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2553
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2553
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.2, 1.1.1, nightly
>         Environment: Windows, JDK 1.4, 1.5
>            Reporter: Sergio
>            Priority: Blocker
>
> When custom protocol is used (eg myssl://localhost/WSTest.asmx) we get AxisFault caused
by MalformedURLException
> because of the problem in the method below. For safe custom url endpoint address parsing,
you should be using URI and not URL, which 
> only allows standard protocols.
> CommonsHTTPTransportSender.writeMessa.writeMessageWithCommons(MessageContext messageContext,
>                                          EndpointReference toEPR, OMOutputFormat format)
>             throws AxisFault {
>         try {   
>    	
> 		URL url = new URL(toEPR.getAddress());  //throws MalformedURLException!!!
> .....

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message