Freeman,

Two issue when using the HTTP URL:
1/ When connecting with a browser, I'm receiving "Bad Request: You're
speaking plain HTTP to an SSL-enabled server port"
2/ When deploying, I'm receiving
"<stack-trace><![CDATA[javax.jbi.management.DeploymentException:
org.apache.servicemix.soap.api.Fault: org.xml.sax.SAXParseException: White
spaces are required between publicId and systemId."

This problem is probably linked to the following error from a cxfbc:provider
using the same HTTPs URL: "The https URL hostname does not match the Common
Name (CN) on the server certificate.  To disable this check (NOT recommended
for production) set the CXF client TLS configuration property
"disableCNCheck" to true.". Is there a way to have a similar setting for
http:endpoint ?

Regards, Stefan.

Freeman Fang wrote:
> 
> Hi Stefan,
> 
> Looks like the https resource can't get resolved correctly.
> 
> How about try use  
> wsdl="http://wwwacc.behealth.smals-mvm.be/codage_1_0/codage?WSDL";
> 
> Freeman
> 
> stlecho wrote:
>> Freeman,
>>
>> The WSDL can be downloaded from the follolwing location: 
>> https://wwwacc.behealth.smals-mvm.be/codage_1_0/codage?WSDL
>> https://wwwacc.behealth.smals-mvm.be/codage_1_0/codage?WSDL 
>>
>> Working config for cxfbc:provider:
>>      <cxfbc:provider
>>                              wsdl="classpath:codage.wsdl"
>>                      
>> locationURI="https://wwwacc.behealth.smals-mvm.be:443/codage_1_0/codage";
>>                              service="encode:Codage"
>>                              endpoint="CodageSOAP"
>>                              useJBIWrapper="false"
>>      />
>>
>>
>> Erroneous config for cxfbc:provider:
>>      <cxfbc:provider
>>                              
>> wsdl="https://wwwacc.behealth.smals-mvm.be/codage_1_0/codage?WSDL";
>>                      
>> locationURI="https://wwwacc.behealth.smals-mvm.be:443/codage_1_0/codage";
>>                              service="encode:Codage"
>>                              endpoint="CodageSOAP"
>>                              useJBIWrapper="false"
>>      />
>>
>>
>> Regards, Stefan.
>>
>>
>> Freeman Fang wrote:
>>   
>>> Hi,
>>>
>>> What's your configuration for cxfbc:provider and what your wsdl looks
>>> like?
>>>
>>> Regards
>>> Freeman
>>>
>>> stlecho wrote:
>>>     
>>>> Hi,
>>>>
>>>> I've configured a cxfbc:provider and when deploying I'm receiving
>>>> "HTTPS
>>>> hostname wrong:  should be <wwwacc.behealth.smals-mvm.be>". When I
>>>> download
>>>> the WSDL and reference it through classpath:, I get no error message.
>>>>
>>>> Stacktrace
>>>> <loc-message>java.io.IOException: HTTPS hostname wrong:  should be
>>>> &lt;wwwacc.behealth.smals-mvm.be&gt;</loc-message><stack-trace><![CDATA[javax.jbi.management.DeploymentException:
>>>> java.io.IOException: HTTPS hostname wrong:  should be
>>>> <wwwacc.behealth.smals-mvm.be> at
>>>> org.apache.servicemix.cxfbc.CxfBcProvider.validate(CxfBcProvider.java:406)
>>>> at
>>>> org.apache.servicemix.common.AbstractDeployer.validate(AbstractDeployer.java:58)
>>>>
>>>> Regards, Stefan Lecho.
>>>>   
>>>>       
>>>
>>>     
>>
>>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/HTTPS-hostname-wrong-tp19142520p19158770.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to