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: [email protected]
For additional commands, e-mail: [email protected]