You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Alexey Zavizionov <al...@exoplatform.com.ua> on 2007/07/02 13:33:10 UTC
Re: NullPointerException with axis1 1.4
Thanks for your response!
We implemented WSRP service on axis1 1.2-RC1, but now we start to
using axis1 1.4.
WSRP service has the wsdl file from oasis ( "wsrp_service.wsdl"
from http://www.oasis-open.org/committees/wsrp/specifications/version1/
)
http://www.oasis-open.org/committees/wsrp/specifications/version1/wsrp_service.wsdl
---WSDL---------------------------
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:oasis:names:tc:wsrp:v1:wsdl"
xmlns:bind="urn:oasis:names:tc:wsrp:v1:bind"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<import namespace="urn:oasis:names:tc:wsrp:v1:bind"
location="wsrp_v1_bindings.wsdl"/>
<wsdl:service name="WSRPService">
<wsdl:port binding="bind:WSRP_v1_Markup_Binding_SOAP"
name="WSRPBaseService">
<soap:address location="http://my.service:8080/WSRPService"/>
</wsdl:port>
<wsdl:port binding="bind:WSRP_v1_ServiceDescription_Binding_SOAP"
name="WSRPServiceDescriptionService">
<soap:address location="http://my.service:8080/WSRPService"/>
</wsdl:port>
<wsdl:port binding="bind:WSRP_v1_Registration_Binding_SOAP"
name="WSRPRegistrationService">
<soap:address location="http://my.service:8080/WSRPService"/>
</wsdl:port>
<wsdl:port binding="bind:WSRP_v1_PortletManagement_Binding_SOAP"
name="WSRPPortletManagementService">
<soap:address location="http://my.service:8080/WSRPService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
--------------------------------------
Do you know where cause of this problem?
Alexey
On 6/27/07, Martin Gainty <mg...@hotmail.com> wrote:
> Alexey
>
> please post the wsdl
>
> Thanks
> M--
> This email message and any files transmitted with it contain confidential
> information intended only for the person(s) to whom this email message is
> addressed. If you have received this email message in error, please notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy. Thank you.
>
> ----- Original Message -----
> From: "Alexey Zavizionov" <al...@exoplatform.com.ua>
> To: <ax...@ws.apache.org>
> Sent: Wednesday, June 27, 2007 11:10 AM
> Subject: Re: NullPointerException with axis1 1.4
>
>
> >I catch the soap message:
> >
> > POST /portal/services/WSRPServiceDescriptionService HTTP/1.0
> > Content-Type: text/xml; charset=utf-8
> > Accept: application/soap+xml, application/dime, multipart/related, text/*
> > User-Agent: Axis/1.4
> > Host: localhost:8080
> > Cache-Control: no-cache
> > Pragma: no-cache
> > SOAPAction: "urn:oasis:names:tc:wsrp:v1:getServiceDescription"
> > Content-Length: 421
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <soapenv:Envelope
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > <soapenv:Body>
> > <getServiceDescription xmlns="urn:oasis:names:tc:wsrp:v1:types">
> > <registrationContext xsi:nil="true"/>
> > <desiredLocales>en</desiredLocales>
> > </getServiceDescription>
> > </soapenv:Body>
> > </soapenv:Envelope>
> >
> > HTTP/1.1 500 Internal Server Error
> > Server: Apache-Coyote/1.1
> > Set-Cookie: JSESSIONID=D8D788AB8D4D347C7C65F5C3B3FAE75D; Path=/portal
> > Content-Type: text/xml;charset=utf-8
> > Date: Wed, 27 Jun 2007 15:05:28 GMT
> > Connection: close
> >
> > <?xml version="1.0" encoding="utf-8"?>
> > <soapenv:Envelope
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > <soapenv:Body>
> > <soapenv:Fault>
> > <faultcode>soapenv:Server.userException</faultcode>
> > <faultstring>java.lang.NullPointerException</faultstring>
> > <detail>
> > <ns1:hostname
> > xmlns:ns1="http://xml.apache.org/axis/">Alex</ns1:hostname>
> > </detail>
> > </soapenv:Fault>
> > </soapenv:Body>
> > </soapenv:Envelope>
> >
> >
> > Any idea are appreciable!
> >
> > Regards,
> > Alexey
> >
> >
> > On 6/27/07, Alexey Zavizionov <al...@exoplatform.com.ua>
> > wrote:
> >> Hello,
> >> I am using axis1 version 1.4 for wsrp service.
> >>
> >> I have an exc:
> >>
> >> AxisFault
> >> faultCode:
> >> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> >> faultSubcode:
> >> faultString: java.lang.NullPointerException
> >> faultActor:
> >> faultNode:
> >> faultDetail:
> >> {http://xml.apache.org/axis/}hostname:Alex
> >>
> >> java.lang.NullPointerException
> >> at
> >> org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
> >> at
> >> org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
> >> at
> >> org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
> >> at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
> >> Source)
> >> at
> >> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
> >> Source)
> >> at
> >> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> >> Source)
> >> at
> >> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> >> Source)
> >> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> >> Source)
> >> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> >> Source)
> >> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> >> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> >> Source)
> >> at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
> >> at
> >> org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
> >> at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
> >> at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
> >> at
> >> org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
> >> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
> >> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
> >> at org.apache.axis.client.Call.invoke(Call.java:2767)
> >> at org.apache.axis.client.Call.invoke(Call.java:2443)
> >> at org.apache.axis.client.Call.invoke(Call.java:2366)
> >> at org.apache.axis.client.Call.invoke(Call.java:1812)
> >> at
> >> org.exoplatform.services.wsrp.bind.WSRP_v1_ServiceDescription_Binding_SOAPStub.getServiceDescription(WSRP_v1_ServiceDescription_Binding_SOA
> >> PStub.java:728)
> >> at
> >> org.exoplatform.services.wsrp.consumer.impl.ProducerImpl.updateServiceDescription(ProducerImpl.java:170)
> >> at
> >> org.exoplatform.services.wsrp.consumer.impl.ProducerImpl.isRegistrationRequired(ProducerImpl.java:257)
> >> at
> >> org.exoplatform.services.wsrp.consumer.portlets.WSRPAdminPortlet.processAction(WSRPAdminPortlet.java:246)
> >> at
> >> org.exoplatform.services.wsrp.consumer.WSRPConsumerPlugin.processAction(WSRPConsumerPlugin.java:329)
> >> at
> >> org.exoplatform.services.portletcontainer.impl.PortletContainerServiceImpl.processAction(PortletContainerServiceImpl.java:169)
> >> at
> >> org.exoplatform.frameworks.portletcontainer.portalframework.PortalFramework.processAction(PortalFramework.java:439)
> >> at
> >> org.exoplatform.services.portletcontainer.test.filters.PortletFilter.doFilter(PortletFilter.java:196)
> >> at
> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >> at
> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >> at
> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >> at
> >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >> at
> >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >> at
> >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >> at
> >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >> at
> >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >> at
> >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >> at
> >> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >> at
> >> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >> at
> >> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >> at
> >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >> at java.lang.Thread.run(Thread.java:595)
> >> -------------------------------------------------------------
> >>
> >>
> >> Could you help me why it hapens?
> >>
> >> Thanks in advance,
> >> Alexey
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Different XML order in WSDL File with Axis 1.2
Posted by "Petr V." <gr...@yahoo.com>.
Okay, I will file the bug but this behavior has been confirmed when I removed 1.6 JRE, all went fine.
Davanum Srinivas <da...@gmail.com> wrote: Please create a JIRA and upload both wsdl;s and add result of "java
-version" on both boxes.
thanks,
dims
On 7/2/07, Petr V. wrote:
> Hi,
>
> I am deploying my axis services on one machine and I see different wsdl and
> on other machine , same service generates different wsdl. The difference is
> only in ordering of operations. I rearranged the wsdl and they both are
> same.
>
> Only difference in environment I could see is different JRE different
> versions besides that environment is same.
>
> I am accessing wsdl via URL if it does matter.
>
> How could I maintain the same order of wsdl every time when I deploy
> service..
>
> Thanks,
>
> Petr V.
>
>
>
>
>
>
>
>
>
> ________________________________
> Be a better Heartthrob. Get better relationship answers from someone who
> knows.
> Yahoo! Answers - Check it out.
>
>
--
Davanum Srinivas :: http://davanum.wordpress.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
---------------------------------
Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.
Re: Different XML order in WSDL File with Axis 1.2
Posted by Davanum Srinivas <da...@gmail.com>.
Please create a JIRA and upload both wsdl;s and add result of "java
-version" on both boxes.
thanks,
dims
On 7/2/07, Petr V. <gr...@yahoo.com> wrote:
> Hi,
>
> I am deploying my axis services on one machine and I see different wsdl and
> on other machine , same service generates different wsdl. The difference is
> only in ordering of operations. I rearranged the wsdl and they both are
> same.
>
> Only difference in environment I could see is different JRE different
> versions besides that environment is same.
>
> I am accessing wsdl via URL if it does matter.
>
> How could I maintain the same order of wsdl every time when I deploy
> service..
>
> Thanks,
>
> Petr V.
>
>
>
>
>
>
>
>
>
> ________________________________
> Be a better Heartthrob. Get better relationship answers from someone who
> knows.
> Yahoo! Answers - Check it out.
>
>
--
Davanum Srinivas :: http://davanum.wordpress.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Different XML order in WSDL File with Axis 1.2
Posted by "Petr V." <gr...@yahoo.com>.
Hi,
I am deploying my axis services on one machine and I see different wsdl and on other machine , same service generates different wsdl. The difference is only in ordering of operations. I rearranged the wsdl and they both are same.
Only difference in environment I could see is different JRE different versions besides that environment is same.
I am accessing wsdl via URL if it does matter.
How could I maintain the same order of wsdl every time when I deploy service..
Thanks,
Petr V.
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.
Re: NullPointerException with axis1 1.4
Posted by Alexey Zavizionov <al...@exoplatform.com.ua>.
Thanks for all responses,
I solved this problem, it is my code problem:)
Thanks again,
Alexey
On 7/3/07, Alexey Zavizionov <al...@exoplatform.com.ua> wrote:
> Thanks for your reply, I am researching it now.
>
> btw, I don't use .NET
>
> Regards,
> Alexey
>
> On 7/3/07, Anne Thomas Manes <at...@gmail.com> wrote:
> > I Googled "wsrp axis null pointer exception getServiceDescription" and found
> > a reference to a problem with sending a null to .NET. What happens if you
> > send a value (as opposed to nil="true") in the <registrationContext>
> > element?
> >
> > Anne
> >
> >
> > On 7/2/07, Alexey Zavizionov
> > <al...@exoplatform.com.ua> wrote:
> > >
> > > Thanks for your response!
> > >
> > > We implemented WSRP service on axis1 1.2-RC1, but now we start to
> > > using axis1 1.4.
> > >
> > > WSRP service has the wsdl file from oasis ( "wsrp_service.wsdl"
> > > from
> > http://www.oasis-open.org/committees/wsrp/specifications/version1/
> > > )
> > >
> > >
> > http://www.oasis-open.org/committees/wsrp/specifications/version1/wsrp_service.wsdl
> > > ---WSDL---------------------------
> > > <?xml version="1.0" encoding="UTF-8"?>
> > > <wsdl:definitions
> > targetNamespace="urn:oasis:names:tc:wsrp:v1:wsdl"
> > >
> > xmlns:bind="urn:oasis:names:tc:wsrp:v1:bind"
> > >
> > xmlns="http://schemas.xmlsoap.org/wsdl/"
> > >
> > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/ "
> > >
> > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
> > > <import namespace="urn:oasis:names:tc:wsrp:v1:bind"
> > > location="wsrp_v1_bindings.wsdl"/>
> > > <wsdl:service name="WSRPService">
> > > <wsdl:port binding="bind:WSRP_v1_Markup_Binding_SOAP"
> > > name="WSRPBaseService">
> > > <soap:address
> > location="http://my.service:8080/WSRPService"/>
> > > </wsdl:port>
> > > <wsdl:port
> > binding="bind:WSRP_v1_ServiceDescription_Binding_SOAP"
> > > name="WSRPServiceDescriptionService">
> > > <soap:address
> > location="http://my.service:8080/WSRPService"/>
> > > </wsdl:port>
> > > <wsdl:port
> > binding="bind:WSRP_v1_Registration_Binding_SOAP"
> > > name="WSRPRegistrationService">
> > > <soap:address
> > location="http://my.service:8080/WSRPService"/>
> > > </wsdl:port>
> > > <wsdl:port
> > binding="bind:WSRP_v1_PortletManagement_Binding_SOAP"
> > > name="WSRPPortletManagementService">
> > > <soap:address
> > location="http://my.service:8080/WSRPService"/>
> > > </wsdl:port>
> > > </wsdl:service>
> > > </wsdl:definitions>
> > > --------------------------------------
> > >
> > > Do you know where cause of this problem?
> > >
> > > Alexey
> > >
> > >
> > >
> > > On 6/27/07, Martin Gainty <mgainty@hotmail.com > wrote:
> > > > Alexey
> > > >
> > > > please post the wsdl
> > > >
> > > > Thanks
> > > > M--
> > > > This email message and any files transmitted with it contain
> > confidential
> > > > information intended only for the person(s) to whom this email message
> > is
> > > > addressed. If you have received this email message in error, please
> > notify
> > > > the sender immediately by telephone or email and destroy the original
> > > > message without making a copy. Thank you.
> > > >
> > > > ----- Original Message -----
> > > > From: "Alexey Zavizionov"
> > <al...@exoplatform.com.ua>
> > > > To: < axis-user@ws.apache.org>
> > > > Sent: Wednesday, June 27, 2007 11:10 AM
> > > > Subject: Re: NullPointerException with axis1 1.4
> > > >
> > > >
> > > > >I catch the soap message:
> > > > >
> > > > > POST /portal/services/WSRPServiceDescriptionService
> > HTTP/1.0
> > > > > Content-Type: text/xml; charset=utf-8
> > > > > Accept: application/soap+xml, application/dime, multipart/related,
> > text/*
> > > > > User-Agent: Axis/1.4
> > > > > Host: localhost:8080
> > > > > Cache-Control: no-cache
> > > > > Pragma: no-cache
> > > > > SOAPAction:
> > "urn:oasis:names:tc:wsrp:v1:getServiceDescription"
> > > > > Content-Length: 421
> > > > >
> > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > <soapenv:Envelope
> > > > >
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> > > > > xmlns:xsd=" http://www.w3.org/2001/XMLSchema"
> > > > >
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > > <soapenv:Body>
> > > > > <getServiceDescription
> > xmlns="urn:oasis:names:tc:wsrp:v1:types">
> > > > > <registrationContext xsi:nil="true"/>
> > > > > <desiredLocales>en</desiredLocales>
> > > > > </getServiceDescription>
> > > > > </soapenv:Body>
> > > > > </soapenv:Envelope>
> > > > >
> > > > > HTTP/1.1 500 Internal Server Error
> > > > > Server: Apache-Coyote/1.1
> > > > > Set-Cookie:
> > JSESSIONID=D8D788AB8D4D347C7C65F5C3B3FAE75D; Path=/portal
> > > > > Content-Type: text/xml;charset=utf-8
> > > > > Date: Wed, 27 Jun 2007 15:05:28 GMT
> > > > > Connection: close
> > > > >
> > > > > <?xml version="1.0" encoding="utf-8"?>
> > > > > <soapenv:Envelope
> > > > >
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> > > > > xmlns:xsd=" http://www.w3.org/2001/XMLSchema"
> > > > >
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > > <soapenv:Body>
> > > > > <soapenv:Fault>
> > > > > <faultcode>soapenv:Server.userException</faultcode>
> > > > > <faultstring>java.lang.NullPointerException</faultstring>
> > > > > <detail>
> > > > > <ns1:hostname
> > > > > xmlns:ns1="http://xml.apache.org/axis/">Alex</ns1:hostname>
> > > > > </detail>
> > > > > </soapenv:Fault>
> > > > > </soapenv:Body>
> > > > > </soapenv:Envelope>
> > > > >
> > > > >
> > > > > Any idea are appreciable!
> > > > >
> > > > > Regards,
> > > > > Alexey
> > > > >
> > > > >
> > > > > On 6/27/07, Alexey Zavizionov <
> > alexey.zavizionov@exoplatform.com.ua>
> > > > > wrote:
> > > > >> Hello,
> > > > >> I am using axis1 version 1.4 for wsrp service.
> > > > >>
> > > > >> I have an exc:
> > > > >>
> > > > >> AxisFault
> > > > >> faultCode:
> > > > >>
> > {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > > > >> faultSubcode:
> > > > >> faultString: java.lang.NullPointerException
> > > > >> faultActor:
> > > > >> faultNode:
> > > > >> faultDetail:
> > > > >> { http://xml.apache.org/axis/}hostname:Alex
> > > > >>
> > > > >> java.lang.NullPointerException
> > > > >> at
> > > > >>
> > org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java
> > :222)
> > > > >> at
> > > > >>
> > org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
> > > > >> at
> > > > >>
> > org.apache.axis.encoding.DeserializationContext.endElement
> > (DeserializationContext.java:1087)
> > > > >> at
> > org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
> > > > >> Source)
> > > > >> at
> > > > >>
> > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement
> > (Unknown
> > > > >> Source)
> > > > >> at
> > > > >>
> > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> > > > >> Source)
> > > > >> at
> > > > >>
> > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> > > > >> Source)
> > > > >> at
> > org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> > > > >> Source)
> > > > >> at
> > org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> > > > >> Source)
> > > > >> at
> > org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> > > > >> at
> > org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> > > > >> Source)
> > > > >> at
> > javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
> > > > >> at
> > > > >>
> > org.apache.axis.encoding.DeserializationContext.parse
> > (DeserializationContext.java:227)
> > > > >> at
> > org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
> > > > >> at
> > org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
> > > > >> at
> > > > >>
> > org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
> > > > >> at
> > org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
> > > > >> at
> > org.apache.axis.client.Call.invokeEngine(Call.java:2784)
> > > > >> at
> > org.apache.axis.client.Call.invoke(Call.java:2767)
> > > > >> at
> > org.apache.axis.client.Call.invoke(Call.java:2443)
> > > > >> at
> > org.apache.axis.client.Call.invoke(Call.java:2366)
> > > > >> at
> > org.apache.axis.client.Call.invoke(Call.java:1812)
> > > > >> at
> > > > >>
> > org.exoplatform.services.wsrp.bind.WSRP_v1_ServiceDescription_Binding_SOAPStub.getServiceDescription
> > (WSRP_v1_ServiceDescription_Binding_SOA
> > > > >> PStub.java:728)
> > > > >> at
> > > > >>
> > org.exoplatform.services.wsrp.consumer.impl.ProducerImpl.updateServiceDescription(ProducerImpl.java:170)
> > > > >> at
> > > > >>
> > org.exoplatform.services.wsrp.consumer.impl.ProducerImpl.isRegistrationRequired(ProducerImpl.java:257)
> > > > >> at
> > > > >>
> > org.exoplatform.services.wsrp.consumer.portlets.WSRPAdminPortlet.processAction
> > (WSRPAdminPortlet.java:246)
> > > > >> at
> > > > >>
> > org.exoplatform.services.wsrp.consumer.WSRPConsumerPlugin.processAction(WSRPConsumerPlugin.java:329)
> > > > >> at
> > > > >>
> > org.exoplatform.services.portletcontainer.impl.PortletContainerServiceImpl.processAction
> > (PortletContainerServiceImpl.java:169)
> > > > >> at
> > > > >>
> > org.exoplatform.frameworks.portletcontainer.portalframework.PortalFramework.processAction(PortalFramework.java:439)
> > > > >> at
> > > > >>
> > org.exoplatform.services.portletcontainer.test.filters.PortletFilter.doFilter(PortletFilter.java:196)
> > > > >> at
> > > > >>
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> > (ApplicationFilterChain.java:202)
> > > > >> at
> > > > >>
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> > > > >> at
> > > > >> org.apache.catalina.core.StandardWrapperValve.invoke
> > (StandardWrapperValve.java:213)
> > > > >> at
> > > > >>
> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> > > > >> at
> > > > >> org.apache.catalina.core.StandardHostValve.invoke
> > (StandardHostValve.java:126)
> > > > >> at
> > > > >>
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> > > > >> at
> > > > >> org.apache.catalina.core.StandardEngineValve.invoke
> > (StandardEngineValve.java:107)
> > > > >> at
> > > > >>
> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> > > > >> at
> > > > >> org.apache.coyote.http11.Http11Processor.process
> > (Http11Processor.java:869)
> > > > >> at
> > > > >>
> > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> > > > >> at
> > > > >>
> > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> > > > >> at
> > > > >>
> > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> > > > >> at
> > > > >>
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> > > > >> at java.lang.Thread.run(Thread.java:595)
> > > > >>
> > -------------------------------------------------------------
> > > > >>
> > > > >>
> > > > >> Could you help me why it hapens?
> > > > >>
> > > > >> Thanks in advance,
> > > > >> Alexey
> > > > >>
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail:
> > axis-user-unsubscribe@ws.apache.org
> > > > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > axis-user-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > > >
> > > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: NullPointerException with axis1 1.4
Posted by Alexey Zavizionov <al...@exoplatform.com.ua>.
Thanks for your reply, I am researching it now.
btw, I don't use .NET
Regards,
Alexey
On 7/3/07, Anne Thomas Manes <at...@gmail.com> wrote:
> I Googled "wsrp axis null pointer exception getServiceDescription" and found
> a reference to a problem with sending a null to .NET. What happens if you
> send a value (as opposed to nil="true") in the <registrationContext>
> element?
>
> Anne
>
>
> On 7/2/07, Alexey Zavizionov
> <al...@exoplatform.com.ua> wrote:
> >
> > Thanks for your response!
> >
> > We implemented WSRP service on axis1 1.2-RC1, but now we start to
> > using axis1 1.4.
> >
> > WSRP service has the wsdl file from oasis ( "wsrp_service.wsdl"
> > from
> http://www.oasis-open.org/committees/wsrp/specifications/version1/
> > )
> >
> >
> http://www.oasis-open.org/committees/wsrp/specifications/version1/wsrp_service.wsdl
> > ---WSDL---------------------------
> > <?xml version="1.0" encoding="UTF-8"?>
> > <wsdl:definitions
> targetNamespace="urn:oasis:names:tc:wsrp:v1:wsdl"
> >
> xmlns:bind="urn:oasis:names:tc:wsrp:v1:bind"
> >
> xmlns="http://schemas.xmlsoap.org/wsdl/"
> >
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/ "
> >
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
> > <import namespace="urn:oasis:names:tc:wsrp:v1:bind"
> > location="wsrp_v1_bindings.wsdl"/>
> > <wsdl:service name="WSRPService">
> > <wsdl:port binding="bind:WSRP_v1_Markup_Binding_SOAP"
> > name="WSRPBaseService">
> > <soap:address
> location="http://my.service:8080/WSRPService"/>
> > </wsdl:port>
> > <wsdl:port
> binding="bind:WSRP_v1_ServiceDescription_Binding_SOAP"
> > name="WSRPServiceDescriptionService">
> > <soap:address
> location="http://my.service:8080/WSRPService"/>
> > </wsdl:port>
> > <wsdl:port
> binding="bind:WSRP_v1_Registration_Binding_SOAP"
> > name="WSRPRegistrationService">
> > <soap:address
> location="http://my.service:8080/WSRPService"/>
> > </wsdl:port>
> > <wsdl:port
> binding="bind:WSRP_v1_PortletManagement_Binding_SOAP"
> > name="WSRPPortletManagementService">
> > <soap:address
> location="http://my.service:8080/WSRPService"/>
> > </wsdl:port>
> > </wsdl:service>
> > </wsdl:definitions>
> > --------------------------------------
> >
> > Do you know where cause of this problem?
> >
> > Alexey
> >
> >
> >
> > On 6/27/07, Martin Gainty <mgainty@hotmail.com > wrote:
> > > Alexey
> > >
> > > please post the wsdl
> > >
> > > Thanks
> > > M--
> > > This email message and any files transmitted with it contain
> confidential
> > > information intended only for the person(s) to whom this email message
> is
> > > addressed. If you have received this email message in error, please
> notify
> > > the sender immediately by telephone or email and destroy the original
> > > message without making a copy. Thank you.
> > >
> > > ----- Original Message -----
> > > From: "Alexey Zavizionov"
> <al...@exoplatform.com.ua>
> > > To: < axis-user@ws.apache.org>
> > > Sent: Wednesday, June 27, 2007 11:10 AM
> > > Subject: Re: NullPointerException with axis1 1.4
> > >
> > >
> > > >I catch the soap message:
> > > >
> > > > POST /portal/services/WSRPServiceDescriptionService
> HTTP/1.0
> > > > Content-Type: text/xml; charset=utf-8
> > > > Accept: application/soap+xml, application/dime, multipart/related,
> text/*
> > > > User-Agent: Axis/1.4
> > > > Host: localhost:8080
> > > > Cache-Control: no-cache
> > > > Pragma: no-cache
> > > > SOAPAction:
> "urn:oasis:names:tc:wsrp:v1:getServiceDescription"
> > > > Content-Length: 421
> > > >
> > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > <soapenv:Envelope
> > > >
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> > > > xmlns:xsd=" http://www.w3.org/2001/XMLSchema"
> > > >
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > <soapenv:Body>
> > > > <getServiceDescription
> xmlns="urn:oasis:names:tc:wsrp:v1:types">
> > > > <registrationContext xsi:nil="true"/>
> > > > <desiredLocales>en</desiredLocales>
> > > > </getServiceDescription>
> > > > </soapenv:Body>
> > > > </soapenv:Envelope>
> > > >
> > > > HTTP/1.1 500 Internal Server Error
> > > > Server: Apache-Coyote/1.1
> > > > Set-Cookie:
> JSESSIONID=D8D788AB8D4D347C7C65F5C3B3FAE75D; Path=/portal
> > > > Content-Type: text/xml;charset=utf-8
> > > > Date: Wed, 27 Jun 2007 15:05:28 GMT
> > > > Connection: close
> > > >
> > > > <?xml version="1.0" encoding="utf-8"?>
> > > > <soapenv:Envelope
> > > >
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> > > > xmlns:xsd=" http://www.w3.org/2001/XMLSchema"
> > > >
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > <soapenv:Body>
> > > > <soapenv:Fault>
> > > > <faultcode>soapenv:Server.userException</faultcode>
> > > > <faultstring>java.lang.NullPointerException</faultstring>
> > > > <detail>
> > > > <ns1:hostname
> > > > xmlns:ns1="http://xml.apache.org/axis/">Alex</ns1:hostname>
> > > > </detail>
> > > > </soapenv:Fault>
> > > > </soapenv:Body>
> > > > </soapenv:Envelope>
> > > >
> > > >
> > > > Any idea are appreciable!
> > > >
> > > > Regards,
> > > > Alexey
> > > >
> > > >
> > > > On 6/27/07, Alexey Zavizionov <
> alexey.zavizionov@exoplatform.com.ua>
> > > > wrote:
> > > >> Hello,
> > > >> I am using axis1 version 1.4 for wsrp service.
> > > >>
> > > >> I have an exc:
> > > >>
> > > >> AxisFault
> > > >> faultCode:
> > > >>
> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > > >> faultSubcode:
> > > >> faultString: java.lang.NullPointerException
> > > >> faultActor:
> > > >> faultNode:
> > > >> faultDetail:
> > > >> { http://xml.apache.org/axis/}hostname:Alex
> > > >>
> > > >> java.lang.NullPointerException
> > > >> at
> > > >>
> org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java
> :222)
> > > >> at
> > > >>
> org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
> > > >> at
> > > >>
> org.apache.axis.encoding.DeserializationContext.endElement
> (DeserializationContext.java:1087)
> > > >> at
> org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
> > > >> Source)
> > > >> at
> > > >>
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement
> (Unknown
> > > >> Source)
> > > >> at
> > > >>
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> > > >> Source)
> > > >> at
> > > >>
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> > > >> Source)
> > > >> at
> org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> > > >> Source)
> > > >> at
> org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> > > >> Source)
> > > >> at
> org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> > > >> at
> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> > > >> Source)
> > > >> at
> javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
> > > >> at
> > > >>
> org.apache.axis.encoding.DeserializationContext.parse
> (DeserializationContext.java:227)
> > > >> at
> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
> > > >> at
> org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
> > > >> at
> > > >>
> org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
> > > >> at
> org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
> > > >> at
> org.apache.axis.client.Call.invokeEngine(Call.java:2784)
> > > >> at
> org.apache.axis.client.Call.invoke(Call.java:2767)
> > > >> at
> org.apache.axis.client.Call.invoke(Call.java:2443)
> > > >> at
> org.apache.axis.client.Call.invoke(Call.java:2366)
> > > >> at
> org.apache.axis.client.Call.invoke(Call.java:1812)
> > > >> at
> > > >>
> org.exoplatform.services.wsrp.bind.WSRP_v1_ServiceDescription_Binding_SOAPStub.getServiceDescription
> (WSRP_v1_ServiceDescription_Binding_SOA
> > > >> PStub.java:728)
> > > >> at
> > > >>
> org.exoplatform.services.wsrp.consumer.impl.ProducerImpl.updateServiceDescription(ProducerImpl.java:170)
> > > >> at
> > > >>
> org.exoplatform.services.wsrp.consumer.impl.ProducerImpl.isRegistrationRequired(ProducerImpl.java:257)
> > > >> at
> > > >>
> org.exoplatform.services.wsrp.consumer.portlets.WSRPAdminPortlet.processAction
> (WSRPAdminPortlet.java:246)
> > > >> at
> > > >>
> org.exoplatform.services.wsrp.consumer.WSRPConsumerPlugin.processAction(WSRPConsumerPlugin.java:329)
> > > >> at
> > > >>
> org.exoplatform.services.portletcontainer.impl.PortletContainerServiceImpl.processAction
> (PortletContainerServiceImpl.java:169)
> > > >> at
> > > >>
> org.exoplatform.frameworks.portletcontainer.portalframework.PortalFramework.processAction(PortalFramework.java:439)
> > > >> at
> > > >>
> org.exoplatform.services.portletcontainer.test.filters.PortletFilter.doFilter(PortletFilter.java:196)
> > > >> at
> > > >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:202)
> > > >> at
> > > >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> > > >> at
> > > >> org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java:213)
> > > >> at
> > > >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> > > >> at
> > > >> org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java:126)
> > > >> at
> > > >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> > > >> at
> > > >> org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:107)
> > > >> at
> > > >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> > > >> at
> > > >> org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:869)
> > > >> at
> > > >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> > > >> at
> > > >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> > > >> at
> > > >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> > > >> at
> > > >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> > > >> at java.lang.Thread.run(Thread.java:595)
> > > >>
> -------------------------------------------------------------
> > > >>
> > > >>
> > > >> Could you help me why it hapens?
> > > >>
> > > >> Thanks in advance,
> > > >> Alexey
> > > >>
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> axis-user-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > > >
> > > >
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: NullPointerException with axis1 1.4
Posted by Anne Thomas Manes <at...@gmail.com>.
I Googled "wsrp axis null pointer exception getServiceDescription" and found
a reference to a problem with sending a null to .NET. What happens if you
send a value (as opposed to nil="true") in the <registrationContext>
element?
Anne
On 7/2/07, Alexey Zavizionov <al...@exoplatform.com.ua> wrote:
>
> Thanks for your response!
>
> We implemented WSRP service on axis1 1.2-RC1, but now we start to
> using axis1 1.4.
>
> WSRP service has the wsdl file from oasis ( "wsrp_service.wsdl"
> from http://www.oasis-open.org/committees/wsrp/specifications/version1/
> )
>
>
> http://www.oasis-open.org/committees/wsrp/specifications/version1/wsrp_service.wsdl
> ---WSDL---------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions targetNamespace="urn:oasis:names:tc:wsrp:v1:wsdl"
> xmlns:bind="urn:oasis:names:tc:wsrp:v1:bind"
> xmlns="http://schemas.xmlsoap.org/wsdl/"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
> <import namespace="urn:oasis:names:tc:wsrp:v1:bind"
> location="wsrp_v1_bindings.wsdl"/>
> <wsdl:service name="WSRPService">
> <wsdl:port binding="bind:WSRP_v1_Markup_Binding_SOAP"
> name="WSRPBaseService">
> <soap:address location="http://my.service:8080/WSRPService"/>
> </wsdl:port>
> <wsdl:port binding="bind:WSRP_v1_ServiceDescription_Binding_SOAP"
> name="WSRPServiceDescriptionService">
> <soap:address location="http://my.service:8080/WSRPService"/>
> </wsdl:port>
> <wsdl:port binding="bind:WSRP_v1_Registration_Binding_SOAP"
> name="WSRPRegistrationService">
> <soap:address location="http://my.service:8080/WSRPService"/>
> </wsdl:port>
> <wsdl:port binding="bind:WSRP_v1_PortletManagement_Binding_SOAP"
> name="WSRPPortletManagementService">
> <soap:address location="http://my.service:8080/WSRPService"/>
> </wsdl:port>
> </wsdl:service>
> </wsdl:definitions>
> --------------------------------------
>
> Do you know where cause of this problem?
>
> Alexey
>
>
>
> On 6/27/07, Martin Gainty <mg...@hotmail.com> wrote:
> > Alexey
> >
> > please post the wsdl
> >
> > Thanks
> > M--
> > This email message and any files transmitted with it contain
> confidential
> > information intended only for the person(s) to whom this email message
> is
> > addressed. If you have received this email message in error, please
> notify
> > the sender immediately by telephone or email and destroy the original
> > message without making a copy. Thank you.
> >
> > ----- Original Message -----
> > From: "Alexey Zavizionov" <al...@exoplatform.com.ua>
> > To: <ax...@ws.apache.org>
> > Sent: Wednesday, June 27, 2007 11:10 AM
> > Subject: Re: NullPointerException with axis1 1.4
> >
> >
> > >I catch the soap message:
> > >
> > > POST /portal/services/WSRPServiceDescriptionService HTTP/1.0
> > > Content-Type: text/xml; charset=utf-8
> > > Accept: application/soap+xml, application/dime, multipart/related,
> text/*
> > > User-Agent: Axis/1.4
> > > Host: localhost:8080
> > > Cache-Control: no-cache
> > > Pragma: no-cache
> > > SOAPAction: "urn:oasis:names:tc:wsrp:v1:getServiceDescription"
> > > Content-Length: 421
> > >
> > > <?xml version="1.0" encoding="UTF-8"?>
> > > <soapenv:Envelope
> > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > <soapenv:Body>
> > > <getServiceDescription xmlns="urn:oasis:names:tc:wsrp:v1:types">
> > > <registrationContext xsi:nil="true"/>
> > > <desiredLocales>en</desiredLocales>
> > > </getServiceDescription>
> > > </soapenv:Body>
> > > </soapenv:Envelope>
> > >
> > > HTTP/1.1 500 Internal Server Error
> > > Server: Apache-Coyote/1.1
> > > Set-Cookie: JSESSIONID=D8D788AB8D4D347C7C65F5C3B3FAE75D; Path=/portal
> > > Content-Type: text/xml;charset=utf-8
> > > Date: Wed, 27 Jun 2007 15:05:28 GMT
> > > Connection: close
> > >
> > > <?xml version="1.0" encoding="utf-8"?>
> > > <soapenv:Envelope
> > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > <soapenv:Body>
> > > <soapenv:Fault>
> > > <faultcode>soapenv:Server.userException</faultcode>
> > > <faultstring>java.lang.NullPointerException</faultstring>
> > > <detail>
> > > <ns1:hostname
> > > xmlns:ns1="http://xml.apache.org/axis/">Alex</ns1:hostname>
> > > </detail>
> > > </soapenv:Fault>
> > > </soapenv:Body>
> > > </soapenv:Envelope>
> > >
> > >
> > > Any idea are appreciable!
> > >
> > > Regards,
> > > Alexey
> > >
> > >
> > > On 6/27/07, Alexey Zavizionov <al...@exoplatform.com.ua>
> > > wrote:
> > >> Hello,
> > >> I am using axis1 version 1.4 for wsrp service.
> > >>
> > >> I have an exc:
> > >>
> > >> AxisFault
> > >> faultCode:
> > >> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > >> faultSubcode:
> > >> faultString: java.lang.NullPointerException
> > >> faultActor:
> > >> faultNode:
> > >> faultDetail:
> > >> {http://xml.apache.org/axis/}hostname:Alex
> > >>
> > >> java.lang.NullPointerException
> > >> at
> > >> org.apache.axis.message.SOAPFaultBuilder.createFault(
> SOAPFaultBuilder.java:222)
> > >> at
> > >> org.apache.axis.message.SOAPFaultBuilder.endElement(
> SOAPFaultBuilder.java:129)
> > >> at
> > >> org.apache.axis.encoding.DeserializationContext.endElement(
> DeserializationContext.java:1087)
> > >> at org.apache.xerces.parsers.AbstractSAXParser.endElement
> (Unknown
> > >> Source)
> > >> at
> > >> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement
> (Unknown
> > >> Source)
> > >> at
> > >>
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
> (Unknown
> > >> Source)
> > >> at
> > >> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
> (Unknown
> > >> Source)
> > >> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> > >> Source)
> > >> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> > >> Source)
> > >> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> > >> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> > >> Source)
> > >> at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
> > >> at
> > >> org.apache.axis.encoding.DeserializationContext.parse(
> DeserializationContext.java:227)
> > >> at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java
> :696)
> > >> at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
> > >> at
> > >> org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(
> MustUnderstandChecker.java:62)
> > >> at org.apache.axis.client.AxisClient.invoke(AxisClient.java
> :206)
> > >> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
> > >> at org.apache.axis.client.Call.invoke(Call.java:2767)
> > >> at org.apache.axis.client.Call.invoke(Call.java:2443)
> > >> at org.apache.axis.client.Call.invoke(Call.java:2366)
> > >> at org.apache.axis.client.Call.invoke(Call.java:1812)
> > >> at
> > >>
> org.exoplatform.services.wsrp.bind.WSRP_v1_ServiceDescription_Binding_SOAPStub.getServiceDescription
> (WSRP_v1_ServiceDescription_Binding_SOA
> > >> PStub.java:728)
> > >> at
> > >>
> org.exoplatform.services.wsrp.consumer.impl.ProducerImpl.updateServiceDescription
> (ProducerImpl.java:170)
> > >> at
> > >>
> org.exoplatform.services.wsrp.consumer.impl.ProducerImpl.isRegistrationRequired
> (ProducerImpl.java:257)
> > >> at
> > >>
> org.exoplatform.services.wsrp.consumer.portlets.WSRPAdminPortlet.processAction
> (WSRPAdminPortlet.java:246)
> > >> at
> > >>
> org.exoplatform.services.wsrp.consumer.WSRPConsumerPlugin.processAction(
> WSRPConsumerPlugin.java:329)
> > >> at
> > >>
> org.exoplatform.services.portletcontainer.impl.PortletContainerServiceImpl.processAction
> (PortletContainerServiceImpl.java:169)
> > >> at
> > >>
> org.exoplatform.frameworks.portletcontainer.portalframework.PortalFramework.processAction
> (PortalFramework.java:439)
> > >> at
> > >>
> org.exoplatform.services.portletcontainer.test.filters.PortletFilter.doFilter
> (PortletFilter.java:196)
> > >> at
> > >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
> > >> at
> > >> org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
> > >> at
> > >> org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:213)
> > >> at
> > >> org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:178)
> > >> at
> > >> org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:126)
> > >> at
> > >> org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:105)
> > >> at
> > >> org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:107)
> > >> at
> > >> org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:148)
> > >> at
> > >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
> :869)
> > >> at
> > >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
> (Http11BaseProtocol.java:664)
> > >> at
> > >> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
> PoolTcpEndpoint.java:527)
> > >> at
> > >> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
> LeaderFollowerWorkerThread.java:80)
> > >> at
> > >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:684)
> > >> at java.lang.Thread.run(Thread.java:595)
> > >> -------------------------------------------------------------
> > >>
> > >>
> > >> Could you help me why it hapens?
> > >>
> > >> Thanks in advance,
> > >> Alexey
> > >>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>