ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin C Scarborough <Benjamin_C_Scarboro...@raytheon.com>
Subject HTTP Header Issues
Date Thu, 13 Nov 2008 16:54:09 GMT
I am trying to pass the Basic Authentication HTTP header information from 
the incoming receive variable to another variable for calling an invoke. 
However, I keep getting an error.  It looks like it is trying to set the 
SOAP header instead.  How do I resolve this?

BPEL assign statement that causes error.

<bpws:copy>
    <bpws:from variable="receiveRequest" header="Authorization"/>
    <bpws:to variable="invokeRequest" header="Authorization"/>
</bpws:copy>


Inbound HTTP request headers from web service call:

POST /ode/processes/inboundCheck HTTP/1.1
Authorization: Basic YTph
SOAPAction: ""
Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; 
q=.2, */*; q=.2
Content-Type: text/xml; charset=utf-8
User-Agent: Java/1.6.0_05
Host: 127.0.0.1
Connection: keep-alive
Content-Length: 823

Error received in log:

2008-11-13 11:53:53,343 INFO  [STDOUT] 11:53:53,343 ERROR 
[SimpleScheduler] Error while processing transaction, retrying.
org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: 
java.lang.RuntimeException: java.lang.NullPointerException
        at 
org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:336)
        at 
org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
        at 
org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:337)
        at 
org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:336)
        at 
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:174)
        at 
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:335)
        at 
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:332)
        at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
        at 
org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:464)
        at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
        at 
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:835)
        at 
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:197)
        at 
org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:204)
        at 
org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:372)
        at 
org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:326)
        ... 11 more
Caused by: java.lang.NullPointerException
        at org.apache.ode.il.OMUtils.toOM(OMUtils.java:156)
        at org.apache.ode.il.OMUtils.toOM(OMUtils.java:133)
        at 
org.apache.ode.axis2.util.SoapMessageConverter.createSoapHeaders(SoapMessageConverter.java:216)
        at 
org.apache.ode.axis2.util.SoapMessageConverter.createSoapRequest(SoapMessageConverter.java:165)
        at 
org.apache.ode.axis2.SoapExternalService.invoke(SoapExternalService.java:126)
        at 
org.apache.ode.axis2.MessageExchangeContextImpl.invokePartner(MessageExchangeContextImpl.java:52)
        at 
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.invoke(BpelRuntimeContextImpl.java:775)
        at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
        at sun.reflect.GeneratedMethodAccessor122.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
        ... 17 more

Thanks for any assistance,
Ben
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message