ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux" <jacques.le.r...@les7arts.com>
Subject Re: SOAP service in ofbiz fails
Date Fri, 14 Sep 2012 11:58:06 GMT
This is due to http://svn.apache.org/viewvc?view=revision&revision=1183314
You only need to revert the change in UtilXml.java[806]

But we need to investigate, there seems to be a conflict of interests there :o)

Jacques

From: "Jacques Le Roux" <jacques.le.roux@les7arts.com>
> Ha no sorry, I forgot to use your ping request (mine was empty) and I actually updated
the server yesterday and it works.
> This server is not totally synched with the trunk. I only pick what I need or find relevant.
So it must a difference betweent this 
> server and trunk demo.
>
> I will see nevertheless...
>
> Jacques
>
> From: "Jacques Le Roux" <jacques.le.roux@les7arts.com>
>> OK I reproduced on trunk demo using http://demo-trunk.ofbiz.apache.org:8080/webtools/control/SOAPService
to avoid SSL issue
>> The server I used yesterday was not updated and it seems that fixing the WSDL generator
had an impact on the XmlSerializer.java
>> I will have a look...
>>
>> Jacques
>>
>> From: "Parminder Lehal" <PLehal.aerotek@fiskerautomotive.com>
>>>I downloaded the latest trunk from SVN and  built the jax-ws client using Netbeans
for ping service.
>>>
>>> Here is the server log:
>>>
>>>
>>> [java] 2012-09-13 14:14:51,495 (http-bio-0.0.0.0-8080-exec-7) [ControlEventListener.java:65
:INFO ] Creating session:
>>> B648AA02665EE4960C6DF4A1443B1DD1.jvm1
>>>     [java] 2012-09-13 14:14:51,496 (http-bio-0.0.0.0-8080-exec-7) [      ContextFilter.java:193:INFO
] [Domain]: localhost
>>> [Request]: /webtools/control/SOAPService
>>>     [java] 2012-09-13 14:14:51,496 (http-bio-0.0.0.0-8080-exec-7) [     ControlServlet.java:140:INFO
]
>>> [[[SOAPService(Domain:http://localhost)] Request Begun, encoding=[utf-8]- total:0.0,since
last(Begin):0.0]]
>>>     [java] 2012-09-13 14:14:51,496 (http-bio-0.0.0.0-8080-exec-7) [       VisitHandler.java:232:INFO
] Found visitorId [null] in
>>> cookie
>>>     [java] 2012-09-13 14:14:51,507 (http-bio-0.0.0.0-8080-exec-7) [    ConfigXMLReader.java:115:INFO
] controller loaded: 
>>> 0.002s,
>>> 113 requests, 70 views in jndi:/0.0.0.0/webtools/WEB-INF/controller.xml
>>>     [java] 2012-09-13 14:14:51,511 (http-bio-0.0.0.0-8080-exec-7) [    ConfigXMLReader.java:115:INFO
] controller loaded: 0.0s, 
>>> 36
>>> requests, 19 views in file:/home/plehal/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml
>>>     [java] 2012-09-13 14:14:51,515 (http-bio-0.0.0.0-8080-exec-7) [    ConfigXMLReader.java:115:INFO
] controller loaded: 0.0s, 
>>> 25
>>> requests, 10 views in file:/home/plehal/ofbiz/framework/common/webcommon/WEB-INF/portal-controller.xml
>>>     [java] 2012-09-13 14:14:51,519 (http-bio-0.0.0.0-8080-exec-7) [    ConfigXMLReader.java:115:INFO
] controller loaded: 0.0s, 
>>> 30
>>> requests, 13 views in file:/home/plehal/ofbiz/framework/common/webcommon/WEB-INF/security-controller.xml
>>>     [java] 2012-09-13 14:14:51,522 (http-bio-0.0.0.0-8080-exec-7) [    ConfigXMLReader.java:115:INFO
] controller loaded: 0.0s, 
>>> 5
>>> requests, 0 views in file:/home/plehal/ofbiz/framework/common/webcommon/WEB-INF/tempexpr-controller.xml
>>>     [java] 2012-09-13 14:14:51,523 (http-bio-0.0.0.0-8080-exec-7) [     RequestHandler.java:299:INFO
] This is the first request
>>> in this visit. sessionId=B648AA02665EE4960C6DF4A1443B1DD1.jvm1
>>>     [java] 2012-09-13 14:14:51,561 (http-bio-0.0.0.0-8080-exec-7) [   SOAPEventHandler.java:214:ERROR]
>>>     [java] ---- runtime exception report --------------------------------------------------
>>>     [java] Exception: java.lang.NullPointerException
>>>     [java] Message: null
>>>     [java] ---- stack trace ---------------------------------------------------------------
>>>     [java] java.lang.NullPointerException
>>>     [java] org.ofbiz.entity.serialize.XmlSerializer.deserializeSingle(XmlSerializer.java:424)
>>>     [java] org.ofbiz.entity.serialize.XmlSerializer.deserialize(XmlSerializer.java:128)
>>>     [java] org.ofbiz.service.engine.SoapSerializer.deserialize(SoapSerializer.java:45)
>>>     [java] org.ofbiz.webapp.event.SOAPEventHandler.invoke(SOAPEventHandler.java:177)
>>>     [java] org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:666)
>>>     [java] org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:409)
>>>     [java] org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214)
>>>     [java] org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:86)
>>>     [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
>>>     [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>>     [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>>     [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>     [java] org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:318)
>>>     [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>     [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>     [java] org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>>     [java] org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>>     [java] org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>>>     [java] org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
>>>     [java] org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>>>     [java] org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>>     [java] org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
>>>     [java] org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>>>     [java] org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
>>>     [java] org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
>>>     [java] org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
>>>     [java] java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>>>     [java] java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>>     [java] java.lang.Thread.run(Thread.java:636)
>>>     [java] --------------------------------------------------------------------------------
>>>     [java]
>>>     [java] 2012-09-13 14:14:51,561 (http-bio-0.0.0.0-8080-exec-7) [     RequestHandler.java:667:INFO
] Ran Event [soap:#] from
>>> [request], result is [null]
>>>     [java] 2012-09-13 14:14:51,562 (http-bio-0.0.0.0-8080-exec-7) [       ServerHitBin.java:637:INFO
] Visit
>>> delegatorName=default, ServerHitBin delegatorName=default
>>>     [java] 2012-09-13 14:14:51,563 (http-bio-0.0.0.0-8080-exec-7) [     ControlServlet.java:321:INFO
]
>>> [[[SOAPService(Domain:http://localhost)] Request Done- total:0.067,since last([SOAPService(Doma...):0.067]]
>>>
>>>
>>>
>>> Regards,
>>>
>>>
>>>
>>>
>>> Parminder Lehal
>>> PDM Interface Analyst
>>> Tel: +1 714-888-4255
>>> mailto:PLehal.aerotek@fiskerautomotive.com
>>> www.fiskerautomotive.com
>>>
>>> NOTICE: This email message is for the sole use of the intended recipient(s) and
may contain confidential and privileged
>>> information. Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, 
>>> please
>>> contact the sender by reply email and destroy all copies of the original message.
>>>
>>> Please consider your environmental responsibility before printing this e-mail.
>>>
>>> -----Original Message-----
>>> From: Jacques Le Roux [mailto:jacques.le.roux@les7arts.com]
>>> Sent: Thursday, September 13, 2012 2:48 AM
>>> To: user@ofbiz.apache.org
>>> Subject: Re: SOAP service in ofbiz fails
>>>
>>> OK, I fixed the nillable issue at r1384251
>>> -----------------message truncated------------------
>>>
>> 

Mime
View raw message