I'm trying to access BSE resources using WSDL protocol. My SOAP client loads wsdl definitions from https://bse.pnl.gov/axis/services/BseService?wsdl successfully, but trying to execute any request (even argument-less getGaussianCatalog) returns in results "Request not allowed from host" exception. What could be the reason?
Below is the sample answer from server.
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bse="http://bse.cmcs.scidac.org">
<soapenv:Header/>
<soapenv:Body>
<bse:getGaussianCatalog soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>java.rmi.RemoteException: Request not allowed from host</faultstring>
<detail>
<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">gnode2</ns1:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
With regards,
Marcin Makowski
|