My tests with Firefox weren't very reliable. With acces log Valve in Tomcat was possible find the problem. My test in Firefox was done in same session that the web application that has the client, and already done login. My service in web.xml was asking for authorization and the server, after handshake, presented the login page in html. I withdrew the auth constraint configuration for the web service and everything worked fine.
Thanks for the help!!
Best Regards,
Cesar.
Re: Help Axis don't work under https - First Element must contain the
local name, Envelope , but found html
Cesar de Almeida Correia
para:
axis-user
07/05/2009 18:08
Responda a axis-user
Hi,
I had convert my cert to pkcs12 and imported in Firefox. Calling the web
service method via Firefox, using a web http call, all works fine. I had
enable the Tomcat acces log valve. He told me that all POSTS and GET to
call with Firefox. With my client only one POST is showed. I guess that my
client has some misconfiguration. Well, I builded my client under http
enviroment. Actually, should I have to build it under https?
Thanks in advance.
Oculta??o de detalhes inativa deRe: Help Axis don't work under https -
First Element must contain the local name, Envelope , buRe: Help Axis don't
work under https - First Element must contain the local name, Envelope ,
but found html
Re: Help Axis don't work under https - First Element must contain
the local name, Envelope , but found html
Andreas Veithen
para:
axis-use
r
07/05/2009 16:15
Responda a axis-user
The error message tells you that the root element of the returned
document is <html>. In general this means an error page. So you have
to investigate on the server side.
Andreas
On Thu, May 7, 2009 at 20:20, Cesar de Almeida Correia
<[email protected]> wrote:
> Hello all,
>
> I have some services under apache axis. It work fine under http, but with
> https fail. Finished certs configuration in service and client, I am
getting
> the folowing error. Is missing some exta configuration to use https?
>
> Thanks in advance.
>
> INFO org.apache.axis2.builder.BuilderUtil - OMException in getSOAPBuilder
> org.apache.axiom.soap.SOAPProcessingException: First Element must contain
> the local name, Envelope , but found html
> at
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.constructNode
(StAXSOAPModelBuilder.java:251)
> at
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createOMElement
(StAXSOAPModelBuilder.java:209)
> at
>
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createNextOMElement
(StAXSOAPModelBuilder.java:191)
> at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next
(StAXOMBuilder.java:172)
> at
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope
(StAXSOAPModelBuilder.java:156)
> at
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>
(StAXSOAPModelBuilder.java:105)
> at org.apache.axis2.builder.BuilderUtil.getSOAPBuilder
(BuilderUtil.java:677)
> at
> org.apache.axis2.transport.TransportUtils.createDocumentElement
(TransportUtils.java:182)
> at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage
(TransportUtils.java:112)
> at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage
(TransportUtils.java:88)
> at
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse
(OutInAxisOperation.java:353)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send
(OutInAxisOperation.java:416)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl
(OutInAxisOperation.java:228)
> at org.apache.axis2.client.OperationClient.execute
(OperationClient.java:163)
> at
> br.ufmg.lcc.pcollecta.ws.client.PCollectaServiceStub.getRequestItemStatus
(PCollectaServiceStub.java:2010)
> at
>
br.ufmg.lcc.pcollecta.ws.client.PCollectaWebServiceClient.getRequestItemStatus
(PCollectaWebServiceClient.java:266)
> at
> br.ufmg.lcc.pcollecta.model.data.PCollectaWSDAO.getRequestItemStatus
(PCollectaWSDAO.java:246)
> at
> br.ufmg.lcc.pcollecta.model.EtlProcessBO.waitForHarvestItemApproval
(EtlProcessBO.java:640)
> at
> br.ufmg.lcc.pcollecta.model.EtlProcessBO.prepareToRun
(EtlProcessBO.java:513)
> at br.ufmg.lcc.pcollecta.model.EtlProcessBO.processEtl
(EtlProcessBO.java:91)
> at
> br.ufmg.lcc.pcollecta.model.ImportProcessBO.doTransferProcess
(ImportProcessBO.java:866)
> at
> br.ufmg.lcc.pcollecta.model.ImportProcessBO.runEtls
(ImportProcessBO.java:425)
> at
> br.ufmg.lcc.pcollecta.model.ImportProcessBO.runProcessScheduled
(ImportProcessBO.java:210)
> at
> br.ufmg.lcc.pcollecta.model.PcollectaFacade.runProcessScheduled
(PcollectaFacade.java:58)
> at
> br.ufmg.lcc.pcollecta.controller.ScheduleAgentController$ScheduleThread
$1.run(ScheduleAgentController.java:878)
>
<<inline: graycol.gif>>
<<inline: pic11942.gif>>
<<inline: ecblank.gif>>
<<inline: 13785992.gif>>
