留言板
SOAP WEB SERVICES as WEB - client
am doing SOAP web services
i created one Plugin Portlet in that i created a table using service.xml
i exposed as SOAP web services.
now try with web-client using eclipse i expose the wsdl and imported all the SOAP related packages in the web-client project
when i try to run i getting the following error:
"
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.rmi.RemoteException: Authenticated access required
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:Sathees
java.rmi.RemoteException: Authenticated access required
"
this my portlet-ext.properties
/////////////////////////////////////////////////////////////////////////////////////////////////////////
json.service.auth.token.hosts.allowed=127.0.0.1,http://localhost:9090
json.service.auth.token.enabled=false
jsonws.web.service.public.methods=*
jsonws.servlet.hosts.allowed=127.0.0.1,http://localhost:9090
axis.servlet.hosts.allowed=127.0.0.1,SERVER_IP
axis.servlet.https.required=false
company.security.auth.requires.https=false
/////////////////////////////////////////////////////////////////////////////////////////////////////////
when i directly try in url in browser (http://localhost:8080/sample-portlet/api/axis/Plugin_loginSlayer_BookService)
its show message like
////////////////////////////////////////////////////////////////////////////
Plugin_loginSlayer_BookService
Hi there, this is an AXIS service!
Perhaps there will be a form for invoking the service here...
////////////////////////////////////////////////////////////////////////////
i created one Plugin Portlet in that i created a table using service.xml
i exposed as SOAP web services.
now try with web-client using eclipse i expose the wsdl and imported all the SOAP related packages in the web-client project
when i try to run i getting the following error:
"
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.rmi.RemoteException: Authenticated access required
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:Sathees
java.rmi.RemoteException: Authenticated access required
"
this my portlet-ext.properties
/////////////////////////////////////////////////////////////////////////////////////////////////////////
json.service.auth.token.hosts.allowed=127.0.0.1,http://localhost:9090
json.service.auth.token.enabled=false
jsonws.web.service.public.methods=*
jsonws.servlet.hosts.allowed=127.0.0.1,http://localhost:9090
axis.servlet.hosts.allowed=127.0.0.1,SERVER_IP
axis.servlet.https.required=false
company.security.auth.requires.https=false
/////////////////////////////////////////////////////////////////////////////////////////////////////////
when i directly try in url in browser (http://localhost:8080/sample-portlet/api/axis/Plugin_loginSlayer_BookService)
its show message like
////////////////////////////////////////////////////////////////////////////
Plugin_loginSlayer_BookService
Hi there, this is an AXIS service!
Perhaps there will be a form for invoking the service here...
////////////////////////////////////////////////////////////////////////////
Tomas Polesovsky,修改在9 年前。
RE: SOAP WEB SERVICES as WEB - client
Liferay Master 帖子: 676 加入日期: 09-2-13 最近的帖子
Hi,
You need to send login and password.
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.rmi.RemoteException: Authenticated access required
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:Sathees
java.rmi.RemoteException: Authenticated access required
You need to send login and password.