2 Replies Latest reply on Apr 10, 2014 7:29 AM by Mauro Araujo

    (BPEL) Caused by: java.lang.IllegalStateException: XPath string and xpath node are both null ?

    Mauro Araujo Newbie

      Hi,

       

      Getting this error  when i try to  deploy to the server 

      iam  trying  to do  something similar to the  quickstart_xts_wsat  example.

       

      I am getting this error all the times and i dont get what is causing  it,

      I have my server config with xts file.

       

      (I atached my project and a txt of the error)

       

      Thanks in advance.

        • 1. Re: (BPEL) Caused by: java.lang.IllegalStateException: XPath string and xpath node are both null ?
          Gary Brown Master

          Hi

           

          The error doesn't appear to be anything related to XTS. It is complaining about an empty xpath expression.

           

          Looking at your BPEL process, it has a variable definition (testeRequest) with an empty 'from' element. You might want to fix that, and check for any other blank xpath expressions, and then try again.

           

          Regards

          Gary

          1 of 1 people found this helpful
          • 2. Re: (BPEL) Caused by: java.lang.IllegalStateException: XPath string and xpath node are both null ?
            Mauro Araujo Newbie

            Yes that was it and other things.

             

            then i realize that my services does not have a good shema structure then I created Interface OrderService

            and a Java Class "Input" and  generated the service throught SY tools.

            public interface OrderService {

                   String orders(Input vals);

            }

             

            Then i edited the wsdl because of Input object Schema was not properly recognizable to be a Message Type.

            basicaly it edit elements  of the shcema  <elemet... /> needed to put the rest of input has <element><complex>.....</complex></element>

             

            Then i link Everything and  add a deploy file(strangely I can not edit the deploy file in ODE Deloyment Descripted Editor) 

            and edit the xml manualy like the example that i mensioned before.

             

            Finaly it has Compile (not tested yet maybe i stiil  need to include the parter link in my reference service and i hopping i dont need to do it).

             

            thanks for the help,