You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Hitesh Chauhan (JIRA)" <ji...@apache.org> on 2010/11/22 23:34:13 UTC

[jira] Created: (AXIS2-4894) The service cannot be found for the endpoint reference (EPR)

The service cannot be found for the endpoint reference (EPR)
------------------------------------------------------------

                 Key: AXIS2-4894
                 URL: https://issues.apache.org/jira/browse/AXIS2-4894
             Project: Axis2
          Issue Type: Bug
          Components: transports
    Affects Versions: 1.5.1
         Environment: Windows XP , Weblogic portal 10.3.2
            Reporter: Hitesh Chauhan


Hi,
I have couple of axis2 services running on local box fine under web app in exploded format. But when I build  and deploy EAR for my entire project and try to invoke the service I get that exception that The service cannot be found for the endpoint reference (EPR)

Below is the input request that I have captured from the TCP Monitor. It shows both the URI and SOAPAction correct.

My webservice name is StaffingOrder and method name is  ProcessStaffingOrder. I have copied StaffingOrder.aar under services folder.

When I try to list the services using http://localhost:7001/ProlucentServices/services/listServices it does not show my new service.

POST /ProlucentServices/services/StaffingOrder HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "ProcessStaffingOrder"
User-Agent: Jakarta Commons-HttpClient/3.1
Host: localhost:8082
Content-Length: 2206

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Header><wsse:Security><wsu:Timestamp wsu:Id="Timestamp-108"><wsu:Created>2010-11-22T20:31:13.497Z</wsu:Created><wsu:Expires>2010-11-22T20:47:53.497Z</wsu:Expires></wsu:Timestamp><wsse:UsernameToken wsu:Id="UsernameToken-107"><wsse:Username>testcustomeruser</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXXX</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">tE7CwgMQ22xFZ5UrnT150g==</wsse:Nonce><wsu:Created>2010-11-22T20:31:13.497Z</wsu:Created></wsse:UsernameToken></wsse:Security></soap:Header>
<soap:Body>
<ProcessStaffingOrder xmlns="http://www.hr-xml.org/3">
<DataArea>
 <StaffingOrder>
   <RequesterParty>
     <PartyName>xxxx</PartyName>
   </RequesterParty>
   <StaffingRequisition>
     <PositionOrganization>
                <OrganizationIdentifiers>
                  <OrganizationName>333</OrganizationName>
                </OrganizationIdentifiers>
                <OrganizationalIdentifiers>
                  <OrganizationalName>Med</OrganizationalName>
                </OrganizationalIdentifiers>
     </PositionOrganization>
                <PositionOpenQuantity>1</PositionOpenQuantity>
                <!-- <JobCategoryCode>Speciality</JobCategoryCode> -->
                <JobGradeCode>ICU</JobGradeCode>
                <Shift>
                  <ShiftID validFrom="2010-12-06" validTo="2010-12-07"/>
                  <StartTime>07:00:00.0000000-06:00</StartTime>
                  <EndTime>20:30:00.0000000-06:00</EndTime>
                </Shift>
     </StaffingRequisition>
   </StaffingOrder>
  </DataArea>
</ProcessStaffingOrder>
</soap:Body>
</soap:Envelope>


output response is 
HTTP/1.1 500 Internal Server Error
Date: Mon, 22 Nov 2010 20:31:13 GMT
Transfer-Encoding: chunked
Content-Type: text/xml; charset=UTF-8
X-Powered-By: Servlet/2.5 JSP/2.1


<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault xmlns:axis2ns3="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>axis2ns3:Client</faultcode><faultstring>The service cannot be found for the endpoint reference (EPR) http://localhost:7001/ProlucentServices/services/StaffingOrder</faultstring><detail /></soapenv:Fault></soapenv:Body></soapenv:Envelope>

How can i debug this further.

Appreciated any help further on this topic.
Thanks,
Hitesh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4894) The service cannot be found for the endpoint reference (EPR)

Posted by "Hitesh Chauhan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935112#action_12935112 ] 

Hitesh Chauhan commented on AXIS2-4894:
---------------------------------------

 As per the configurations for weblogic server mentioned in http://axis.apache.org/axis2/java/core/docs/app_server.html 

I have done following.
    * WEB-INF/services/services.list : should list all the services (aar files) that you want to expose.
    * WEB-INF/modules/modules.list : should list all the modules (mar files) that you want to use.

Still it does not list my service when I deploy my EAR file.

> The service cannot be found for the endpoint reference (EPR)
> ------------------------------------------------------------
>
>                 Key: AXIS2-4894
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4894
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.1
>         Environment: Windows XP , Weblogic portal 10.3.2
>            Reporter: Hitesh Chauhan
>
> Hi,
> I have couple of axis2 services running on local box fine under web app in exploded format. But when I build  and deploy EAR for my entire project and try to invoke the service I get that exception that The service cannot be found for the endpoint reference (EPR)
> Below is the input request that I have captured from the TCP Monitor. It shows both the URI and SOAPAction correct.
> My webservice name is StaffingOrder and method name is  ProcessStaffingOrder. I have copied StaffingOrder.aar under services folder.
> When I try to list the services using http://localhost:7001/ProlucentServices/services/listServices it does not show my new service.
> POST /ProlucentServices/services/StaffingOrder HTTP/1.1
> Accept-Encoding: gzip,deflate
> Content-Type: text/xml;charset=UTF-8
> SOAPAction: "ProcessStaffingOrder"
> User-Agent: Jakarta Commons-HttpClient/3.1
> Host: localhost:8082
> Content-Length: 2206
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Header><wsse:Security><wsu:Timestamp wsu:Id="Timestamp-108"><wsu:Created>2010-11-22T20:31:13.497Z</wsu:Created><wsu:Expires>2010-11-22T20:47:53.497Z</wsu:Expires></wsu:Timestamp><wsse:UsernameToken wsu:Id="UsernameToken-107"><wsse:Username>testcustomeruser</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXXX</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">tE7CwgMQ22xFZ5UrnT150g==</wsse:Nonce><wsu:Created>2010-11-22T20:31:13.497Z</wsu:Created></wsse:UsernameToken></wsse:Security></soap:Header>
> <soap:Body>
> <ProcessStaffingOrder xmlns="http://www.hr-xml.org/3">
> <DataArea>
>  <StaffingOrder>
>    <RequesterParty>
>      <PartyName>xxxx</PartyName>
>    </RequesterParty>
>    <StaffingRequisition>
>      <PositionOrganization>
>                 <OrganizationIdentifiers>
>                   <OrganizationName>333</OrganizationName>
>                 </OrganizationIdentifiers>
>                 <OrganizationalIdentifiers>
>                   <OrganizationalName>Med</OrganizationalName>
>                 </OrganizationalIdentifiers>
>      </PositionOrganization>
>                 <PositionOpenQuantity>1</PositionOpenQuantity>
>                 <!-- <JobCategoryCode>Speciality</JobCategoryCode> -->
>                 <JobGradeCode>ICU</JobGradeCode>
>                 <Shift>
>                   <ShiftID validFrom="2010-12-06" validTo="2010-12-07"/>
>                   <StartTime>07:00:00.0000000-06:00</StartTime>
>                   <EndTime>20:30:00.0000000-06:00</EndTime>
>                 </Shift>
>      </StaffingRequisition>
>    </StaffingOrder>
>   </DataArea>
> </ProcessStaffingOrder>
> </soap:Body>
> </soap:Envelope>
> output response is 
> HTTP/1.1 500 Internal Server Error
> Date: Mon, 22 Nov 2010 20:31:13 GMT
> Transfer-Encoding: chunked
> Content-Type: text/xml; charset=UTF-8
> X-Powered-By: Servlet/2.5 JSP/2.1
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault xmlns:axis2ns3="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>axis2ns3:Client</faultcode><faultstring>The service cannot be found for the endpoint reference (EPR) http://localhost:7001/ProlucentServices/services/StaffingOrder</faultstring><detail /></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> How can i debug this further.
> Appreciated any help further on this topic.
> Thanks,
> Hitesh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4894) The service cannot be found for the endpoint reference (EPR)

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973490#action_12973490 ] 

Samisa Abeysinghe commented on AXIS2-4894:
------------------------------------------

Is it possible to reporduce this problem without Weblogic; with simple axis server?

> The service cannot be found for the endpoint reference (EPR)
> ------------------------------------------------------------
>
>                 Key: AXIS2-4894
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4894
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.1
>         Environment: Windows XP , Weblogic portal 10.3.2
>            Reporter: Hitesh Chauhan
>
> Hi,
> I have couple of axis2 services running on local box fine under web app in exploded format. But when I build  and deploy EAR for my entire project and try to invoke the service I get that exception that The service cannot be found for the endpoint reference (EPR)
> Below is the input request that I have captured from the TCP Monitor. It shows both the URI and SOAPAction correct.
> My webservice name is StaffingOrder and method name is  ProcessStaffingOrder. I have copied StaffingOrder.aar under services folder.
> When I try to list the services using http://localhost:7001/ProlucentServices/services/listServices it does not show my new service.
> POST /ProlucentServices/services/StaffingOrder HTTP/1.1
> Accept-Encoding: gzip,deflate
> Content-Type: text/xml;charset=UTF-8
> SOAPAction: "ProcessStaffingOrder"
> User-Agent: Jakarta Commons-HttpClient/3.1
> Host: localhost:8082
> Content-Length: 2206
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Header><wsse:Security><wsu:Timestamp wsu:Id="Timestamp-108"><wsu:Created>2010-11-22T20:31:13.497Z</wsu:Created><wsu:Expires>2010-11-22T20:47:53.497Z</wsu:Expires></wsu:Timestamp><wsse:UsernameToken wsu:Id="UsernameToken-107"><wsse:Username>testcustomeruser</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXXX</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">tE7CwgMQ22xFZ5UrnT150g==</wsse:Nonce><wsu:Created>2010-11-22T20:31:13.497Z</wsu:Created></wsse:UsernameToken></wsse:Security></soap:Header>
> <soap:Body>
> <ProcessStaffingOrder xmlns="http://www.hr-xml.org/3">
> <DataArea>
>  <StaffingOrder>
>    <RequesterParty>
>      <PartyName>xxxx</PartyName>
>    </RequesterParty>
>    <StaffingRequisition>
>      <PositionOrganization>
>                 <OrganizationIdentifiers>
>                   <OrganizationName>333</OrganizationName>
>                 </OrganizationIdentifiers>
>                 <OrganizationalIdentifiers>
>                   <OrganizationalName>Med</OrganizationalName>
>                 </OrganizationalIdentifiers>
>      </PositionOrganization>
>                 <PositionOpenQuantity>1</PositionOpenQuantity>
>                 <!-- <JobCategoryCode>Speciality</JobCategoryCode> -->
>                 <JobGradeCode>ICU</JobGradeCode>
>                 <Shift>
>                   <ShiftID validFrom="2010-12-06" validTo="2010-12-07"/>
>                   <StartTime>07:00:00.0000000-06:00</StartTime>
>                   <EndTime>20:30:00.0000000-06:00</EndTime>
>                 </Shift>
>      </StaffingRequisition>
>    </StaffingOrder>
>   </DataArea>
> </ProcessStaffingOrder>
> </soap:Body>
> </soap:Envelope>
> output response is 
> HTTP/1.1 500 Internal Server Error
> Date: Mon, 22 Nov 2010 20:31:13 GMT
> Transfer-Encoding: chunked
> Content-Type: text/xml; charset=UTF-8
> X-Powered-By: Servlet/2.5 JSP/2.1
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault xmlns:axis2ns3="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>axis2ns3:Client</faultcode><faultstring>The service cannot be found for the endpoint reference (EPR) http://localhost:7001/ProlucentServices/services/StaffingOrder</faultstring><detail /></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> How can i debug this further.
> Appreciated any help further on this topic.
> Thanks,
> Hitesh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4894) The service cannot be found for the endpoint reference (EPR)

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973568#action_12973568 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-4894:
-----------------------------------------------------

first you should be able to see the wsdl with the following path if the service working

/ProlucentServices/services/StaffingOrder?wsdl

if not showing the wsdl then check the web.xml.

if it is still not working you may put a debug pointer (I mean the java debuging) to AxisServelet and see the request comes there.


> The service cannot be found for the endpoint reference (EPR)
> ------------------------------------------------------------
>
>                 Key: AXIS2-4894
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4894
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.1
>         Environment: Windows XP , Weblogic portal 10.3.2
>            Reporter: Hitesh Chauhan
>
> Hi,
> I have couple of axis2 services running on local box fine under web app in exploded format. But when I build  and deploy EAR for my entire project and try to invoke the service I get that exception that The service cannot be found for the endpoint reference (EPR)
> Below is the input request that I have captured from the TCP Monitor. It shows both the URI and SOAPAction correct.
> My webservice name is StaffingOrder and method name is  ProcessStaffingOrder. I have copied StaffingOrder.aar under services folder.
> When I try to list the services using http://localhost:7001/ProlucentServices/services/listServices it does not show my new service.
> POST /ProlucentServices/services/StaffingOrder HTTP/1.1
> Accept-Encoding: gzip,deflate
> Content-Type: text/xml;charset=UTF-8
> SOAPAction: "ProcessStaffingOrder"
> User-Agent: Jakarta Commons-HttpClient/3.1
> Host: localhost:8082
> Content-Length: 2206
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Header><wsse:Security><wsu:Timestamp wsu:Id="Timestamp-108"><wsu:Created>2010-11-22T20:31:13.497Z</wsu:Created><wsu:Expires>2010-11-22T20:47:53.497Z</wsu:Expires></wsu:Timestamp><wsse:UsernameToken wsu:Id="UsernameToken-107"><wsse:Username>testcustomeruser</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXXX</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">tE7CwgMQ22xFZ5UrnT150g==</wsse:Nonce><wsu:Created>2010-11-22T20:31:13.497Z</wsu:Created></wsse:UsernameToken></wsse:Security></soap:Header>
> <soap:Body>
> <ProcessStaffingOrder xmlns="http://www.hr-xml.org/3">
> <DataArea>
>  <StaffingOrder>
>    <RequesterParty>
>      <PartyName>xxxx</PartyName>
>    </RequesterParty>
>    <StaffingRequisition>
>      <PositionOrganization>
>                 <OrganizationIdentifiers>
>                   <OrganizationName>333</OrganizationName>
>                 </OrganizationIdentifiers>
>                 <OrganizationalIdentifiers>
>                   <OrganizationalName>Med</OrganizationalName>
>                 </OrganizationalIdentifiers>
>      </PositionOrganization>
>                 <PositionOpenQuantity>1</PositionOpenQuantity>
>                 <!-- <JobCategoryCode>Speciality</JobCategoryCode> -->
>                 <JobGradeCode>ICU</JobGradeCode>
>                 <Shift>
>                   <ShiftID validFrom="2010-12-06" validTo="2010-12-07"/>
>                   <StartTime>07:00:00.0000000-06:00</StartTime>
>                   <EndTime>20:30:00.0000000-06:00</EndTime>
>                 </Shift>
>      </StaffingRequisition>
>    </StaffingOrder>
>   </DataArea>
> </ProcessStaffingOrder>
> </soap:Body>
> </soap:Envelope>
> output response is 
> HTTP/1.1 500 Internal Server Error
> Date: Mon, 22 Nov 2010 20:31:13 GMT
> Transfer-Encoding: chunked
> Content-Type: text/xml; charset=UTF-8
> X-Powered-By: Servlet/2.5 JSP/2.1
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault xmlns:axis2ns3="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>axis2ns3:Client</faultcode><faultstring>The service cannot be found for the endpoint reference (EPR) http://localhost:7001/ProlucentServices/services/StaffingOrder</faultstring><detail /></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> How can i debug this further.
> Appreciated any help further on this topic.
> Thanks,
> Hitesh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4894) The service cannot be found for the endpoint reference (EPR)

Posted by "Pradeep Fernando (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973500#action_12973500 ] 

Pradeep Fernando commented on AXIS2-4894:
-----------------------------------------

Hitesh,

Is it only your newly deployed service gives trouble (are there any other services working fine & listed under services list in the web lagic env) ?

is it possible to get the logs of the server ?

-- Pradeep

> The service cannot be found for the endpoint reference (EPR)
> ------------------------------------------------------------
>
>                 Key: AXIS2-4894
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4894
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.1
>         Environment: Windows XP , Weblogic portal 10.3.2
>            Reporter: Hitesh Chauhan
>
> Hi,
> I have couple of axis2 services running on local box fine under web app in exploded format. But when I build  and deploy EAR for my entire project and try to invoke the service I get that exception that The service cannot be found for the endpoint reference (EPR)
> Below is the input request that I have captured from the TCP Monitor. It shows both the URI and SOAPAction correct.
> My webservice name is StaffingOrder and method name is  ProcessStaffingOrder. I have copied StaffingOrder.aar under services folder.
> When I try to list the services using http://localhost:7001/ProlucentServices/services/listServices it does not show my new service.
> POST /ProlucentServices/services/StaffingOrder HTTP/1.1
> Accept-Encoding: gzip,deflate
> Content-Type: text/xml;charset=UTF-8
> SOAPAction: "ProcessStaffingOrder"
> User-Agent: Jakarta Commons-HttpClient/3.1
> Host: localhost:8082
> Content-Length: 2206
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Header><wsse:Security><wsu:Timestamp wsu:Id="Timestamp-108"><wsu:Created>2010-11-22T20:31:13.497Z</wsu:Created><wsu:Expires>2010-11-22T20:47:53.497Z</wsu:Expires></wsu:Timestamp><wsse:UsernameToken wsu:Id="UsernameToken-107"><wsse:Username>testcustomeruser</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXXX</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">tE7CwgMQ22xFZ5UrnT150g==</wsse:Nonce><wsu:Created>2010-11-22T20:31:13.497Z</wsu:Created></wsse:UsernameToken></wsse:Security></soap:Header>
> <soap:Body>
> <ProcessStaffingOrder xmlns="http://www.hr-xml.org/3">
> <DataArea>
>  <StaffingOrder>
>    <RequesterParty>
>      <PartyName>xxxx</PartyName>
>    </RequesterParty>
>    <StaffingRequisition>
>      <PositionOrganization>
>                 <OrganizationIdentifiers>
>                   <OrganizationName>333</OrganizationName>
>                 </OrganizationIdentifiers>
>                 <OrganizationalIdentifiers>
>                   <OrganizationalName>Med</OrganizationalName>
>                 </OrganizationalIdentifiers>
>      </PositionOrganization>
>                 <PositionOpenQuantity>1</PositionOpenQuantity>
>                 <!-- <JobCategoryCode>Speciality</JobCategoryCode> -->
>                 <JobGradeCode>ICU</JobGradeCode>
>                 <Shift>
>                   <ShiftID validFrom="2010-12-06" validTo="2010-12-07"/>
>                   <StartTime>07:00:00.0000000-06:00</StartTime>
>                   <EndTime>20:30:00.0000000-06:00</EndTime>
>                 </Shift>
>      </StaffingRequisition>
>    </StaffingOrder>
>   </DataArea>
> </ProcessStaffingOrder>
> </soap:Body>
> </soap:Envelope>
> output response is 
> HTTP/1.1 500 Internal Server Error
> Date: Mon, 22 Nov 2010 20:31:13 GMT
> Transfer-Encoding: chunked
> Content-Type: text/xml; charset=UTF-8
> X-Powered-By: Servlet/2.5 JSP/2.1
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault xmlns:axis2ns3="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>axis2ns3:Client</faultcode><faultstring>The service cannot be found for the endpoint reference (EPR) http://localhost:7001/ProlucentServices/services/StaffingOrder</faultstring><detail /></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> How can i debug this further.
> Appreciated any help further on this topic.
> Thanks,
> Hitesh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4894) The service cannot be found for the endpoint reference (EPR)

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruwan Linton resolved AXIS2-4894.
---------------------------------

    Resolution: Fixed

I do not see any response from the original reporter of this issue and it doesn't seem to be an Axis2 issue, rather an user error in creating the service or deploying it. We should promote people to use the user list before creating a JIRA for these sort of issues.

> The service cannot be found for the endpoint reference (EPR)
> ------------------------------------------------------------
>
>                 Key: AXIS2-4894
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4894
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.1
>         Environment: Windows XP , Weblogic portal 10.3.2
>            Reporter: Hitesh Chauhan
>
> Hi,
> I have couple of axis2 services running on local box fine under web app in exploded format. But when I build  and deploy EAR for my entire project and try to invoke the service I get that exception that The service cannot be found for the endpoint reference (EPR)
> Below is the input request that I have captured from the TCP Monitor. It shows both the URI and SOAPAction correct.
> My webservice name is StaffingOrder and method name is  ProcessStaffingOrder. I have copied StaffingOrder.aar under services folder.
> When I try to list the services using http://localhost:7001/ProlucentServices/services/listServices it does not show my new service.
> POST /ProlucentServices/services/StaffingOrder HTTP/1.1
> Accept-Encoding: gzip,deflate
> Content-Type: text/xml;charset=UTF-8
> SOAPAction: "ProcessStaffingOrder"
> User-Agent: Jakarta Commons-HttpClient/3.1
> Host: localhost:8082
> Content-Length: 2206
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Header><wsse:Security><wsu:Timestamp wsu:Id="Timestamp-108"><wsu:Created>2010-11-22T20:31:13.497Z</wsu:Created><wsu:Expires>2010-11-22T20:47:53.497Z</wsu:Expires></wsu:Timestamp><wsse:UsernameToken wsu:Id="UsernameToken-107"><wsse:Username>testcustomeruser</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXXX</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">tE7CwgMQ22xFZ5UrnT150g==</wsse:Nonce><wsu:Created>2010-11-22T20:31:13.497Z</wsu:Created></wsse:UsernameToken></wsse:Security></soap:Header>
> <soap:Body>
> <ProcessStaffingOrder xmlns="http://www.hr-xml.org/3">
> <DataArea>
>  <StaffingOrder>
>    <RequesterParty>
>      <PartyName>xxxx</PartyName>
>    </RequesterParty>
>    <StaffingRequisition>
>      <PositionOrganization>
>                 <OrganizationIdentifiers>
>                   <OrganizationName>333</OrganizationName>
>                 </OrganizationIdentifiers>
>                 <OrganizationalIdentifiers>
>                   <OrganizationalName>Med</OrganizationalName>
>                 </OrganizationalIdentifiers>
>      </PositionOrganization>
>                 <PositionOpenQuantity>1</PositionOpenQuantity>
>                 <!-- <JobCategoryCode>Speciality</JobCategoryCode> -->
>                 <JobGradeCode>ICU</JobGradeCode>
>                 <Shift>
>                   <ShiftID validFrom="2010-12-06" validTo="2010-12-07"/>
>                   <StartTime>07:00:00.0000000-06:00</StartTime>
>                   <EndTime>20:30:00.0000000-06:00</EndTime>
>                 </Shift>
>      </StaffingRequisition>
>    </StaffingOrder>
>   </DataArea>
> </ProcessStaffingOrder>
> </soap:Body>
> </soap:Envelope>
> output response is 
> HTTP/1.1 500 Internal Server Error
> Date: Mon, 22 Nov 2010 20:31:13 GMT
> Transfer-Encoding: chunked
> Content-Type: text/xml; charset=UTF-8
> X-Powered-By: Servlet/2.5 JSP/2.1
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault xmlns:axis2ns3="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>axis2ns3:Client</faultcode><faultstring>The service cannot be found for the endpoint reference (EPR) http://localhost:7001/ProlucentServices/services/StaffingOrder</faultstring><detail /></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> How can i debug this further.
> Appreciated any help further on this topic.
> Thanks,
> Hitesh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org