Not sure if it was a copy/paste error, but there's a "." right after the wsdl 
binding element opening tag.

_______________________________________
Robert ("Bob") Brodt
Senior Software Engineer, JBoss Riftsaw
JBoss by Red Hat

----- Original Message -----
> I have created BPEL(BPEL4WS specification version 1.1 ) project .
> Сhecking the documentation, there are no errors at my project
> files(bpel,wsdl,deploy.xml).
> But I have incomprehensible error(exception).
> 
> 2011-04-18 14:40:44 DeploymentPoller [ERROR] Deployment of HelloWorld2
> failed, aborting for now.
> java.lang.NullPointerException
> at
> org.apache.ode.utils.xsl.XslTransformHandler.setErrorListener(XslTransformHandler.java:172)
> at org.apache.ode.bpel.compiler.BpelC.invalidate(BpelC.java:88)
> at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:323)
> at
> org.apache.ode.store.DeploymentUnitDir$5.run(DeploymentUnitDir.java:204)
> at org.apache.ode.utils.InternPool.runBlock(InternPool.java:57)
> at
> org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:201)
> at
> org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:162)
> at
> org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:204)
> at
> org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:172)
> at
> org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:160)
> at
> org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:60)
> at
> org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:251)
> 
> 
> wsdl
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> <wsdl:definitions
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
> xmlns:xs="http://www.w3.org/2001/XMLSchema";
> xmlns:tns="http://ode/bpel/unit-test.wsdl";
> targetNamespace="http://ode/bpel/unit-test.wsdl";
> xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/";
> 
> >
> 
> <wsdl:message name="HelloMessage">
> <wsdl:part name="parameter" type="xs:string"/>
> </wsdl:message>
> 
> <wsdl:portType name="HelloPortType">
> <wsdl:operation name="hello">
> <wsdl:input message="tns:HelloMessage"/>
> <wsdl:output message="tns:HelloMessage"/>
> </wsdl:operation>
> </wsdl:portType>
> 
> <wsdl:binding name="HelloSoapBinding" type="tns:HelloPortType">.
> <soap:binding style="rpc"
> transport="http://schemas.xmlsoap.org/soap/http"/>
> <wsdl:operation name="hello">
> <soap:operation soapAction="" style="rpc"/>
> <wsdl:input>
> <soap:body use="literal"/>
> </wsdl:input>
> <wsdl:output>
> <soap:body use="literal"/>
> </wsdl:output>
> </wsdl:operation>
> </wsdl:binding>
> 
> <wsdl:service name="HelloService">
> <wsdl:port name="HelloPort" binding="tns:HelloSoapBinding">
> <soap:address
> location="http://localhost:8080/ode/processes/helloWorld"/>
> </wsdl:port>
> </wsdl:service>
> 
> <plnk:partnerLinkType name="HelloPartnerLinkType">
> <plnk:role name="me">
> <plnk:portType name="tns:HelloPortType"/>
> </plnk:role>
> </plnk:partnerLinkType>
> 
> </wsdl:definitions>
> 
> 
> bpel
> 
> <process name="HelloWorld2"
> targetNamespace="http://ode/bpel/unit-test";
> xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/";
> xmlns:tns="http://ode/bpel/unit-test";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:test="http://ode/bpel/unit-test.wsdl";
> >
> <import namespace="http://ode/bpel/unit-test.wsdl";
> location="HelloWorld2.wsdl"/>
> 
> <partnerLinks>
> <partnerLink name="helloPartnerLink"
> partnerLinkType="test:HelloPartnerLinkType"
> myRole="me" />
> </partnerLinks>
> 
> <variables>
> <variable name="myVar" messageType="test:HelloMessage"/>
> </variables>
> 
> <scope>
> <sequence>
> <receive
> name="start"
> partnerLink="helloPartnerLink"
> portType="test:HelloPortType"
> operation="hello"
> variable="myVar"
> createInstance="yes"/>
> 
> <reply name="end"
> partnerLink="helloPartnerLink"
> portType="test:HelloPortType"
> operation="hello"
> variable="myVar"/>
> </sequence>
> </scope>
> </process>
> 
> 
> deploy.xml
> 
> <deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03";
> xmlns:pns="http://ode/bpel/unit-test";
> xmlns:wns="http://ode/bpel/unit-test.wsdl";>
> 
> 
> <process name="pns:HelloWorld2" fileName="HelloWorld2.bpel"
> bpel11wsdlFileName="HelloWorld2.wsdl">
> <active>true</active>
> <provide partnerLink="helloPartnerLink">
> <service name="wns:HelloService" port="HelloPort"/>
> </provide>
> </process>
> </deploy>
> 
> 
> Thanks for help !
> --
> View this message in context:
> http://old.nabble.com/Problem-while-deployment-tp31423436p31423436.html
> Sent from the Apache Ode User mailing list archive at Nabble.com.

Reply via email to