UTL_DBWS accessing web service gives 'not contain port' error
Hello
I am trying to call a web service from https://wgfd-cafa02.uni.mdx.ac.uk:8443/nyx/services/PlanonSession?wsdl
In the WSDL xml, i get the targetNamespace (http://PlanonWebServices.ws),
the service name (PlanonSession),
the wsdl URL (https://wgfd-cafa02.uni.mdx.ac.uk:8443/nyx/services/PlanonSession?wsdl),
the portType name (PlanonSessionHttpEndpoint),
the operation name (login).
When i call the web service, i get an error about the port :
-29532 - ORA-29532: Java call terminated by uncaught Java exception: service:
{http://PlanonWebServices.ws}PlanonSession does not contain port:
{http://PlanonWebServices.ws}PlanonSessionHttpEndpoint
The code is :
CREATE OR REPLACE PROCEDURE planon_Login AS
planon_username VARCHAR2(50):= 'XXXXXX'; --- removed for security
planon_passwd VARCHAR2(50):= 'XXXXX'; --- removed for security
service_ sys.utl_dbws.SERVICE;
call_ sys.utl_dbws.CALL;
service_qname sys.utl_dbws.QNAME;
port_qname sys.utl_dbws.QNAME;
operation_qname sys.utl_dbws.QNAME;
string_type_qname sys.utl_dbws.QNAME;
username sys.utl_dbws.QNAME;
password sys.utl_dbws.QNAME;
--retx ANYDATA;
retx_string VARCHAR2(1000);
l_namespace VARCHAR2(1000);
l_wsdl_url VARCHAR2(1000);
l_input_params sys.utl_dbws.ANYDATA_LIST;
outputs sys.utl_dbws.ANYDATA_LIST;
output_retx VARCHAR2(1000);
xml_string sys.xmltype;
retx sys.xmltype;
qname_list_ sys.utl_dbws.QNAME_LIST;
qname_list_string sys.utl_dbws.QNAME_LIST;
BEGIN
dbms_output.put_line('Step 1');
dbms_output.put_line('Step 1 : Set l_wsdl_url');
l_wsdl_url := 'https://wgfd-cafa02.uni.mdx.ac.uk:8443/nyx/services/PlanonSession?wsdl';
dbms_output.put_line('Step 1 : Set l_namespace');
l_namespace := 'http://PlanonWebServices.ws';
dbms_output.put_line('Step 1 : Set service_');
service_qname := sys.utl_dbws.to_qname(l_namespace,'PlanonSession');
service_ := sys.utl_dbws.create_service (URIFACTORY.getURI(l_wsdl_url), service_qname);
dbms_output.put_line('Step 1 : Set port_qname_');
port_qname := sys.utl_dbws.to_qname(l_namespace,'PlanonSessionHttpEndpoint');
dbms_output.put_line('Step 1 : Set operation_qname');
operation_qname := sys.utl_dbws.to_qname(l_namespace, 'login');
dbms_output.put_line('Step 1 : Set call_');
call_ := sys.utl_dbws.create_call(service_,port_qname,operation_qname);
dbms_output.put_line('Step 2');
sys.utl_dbws.set_property(call_,'USERNAME', planon_username);
sys.utl_dbws.set_property(call_,'PASSWORD', planon_passwd);
sys.utl_dbws.set_property(call_,'SOAPACTION_USE','TRUE');
sys.utl_dbws.set_property(call_,'SOAPACTION_URI','https://wgfd-cafa02.uni.mdx.ac.uk:8443/nyx/services/PlanonSession');
sys.utl_dbws.set_property(call_,'ENCODINGSTYLE_URI', 'https://schemas.xmlsoap.org/soap/encoding/');
sys.utl_dbws.set_property(call_,'OPERATION_STYLE','document');
dbms_output.put_line('Step 3');
string_type_qname := sys.utl_dbws.to_qname('https://www.w3.org/2001/XMLSchema', 'string');
/* first return parameter in the WSDL should not be specified in the parameter list or errors occur
sys.utl_dbws.add_parameter(call_, 'loginResponse', string_type_qname, 'ParameterMode.OUT');
sys.utl_dbws.set_return_type(call_,string_type_qname);
xml_string := xmltype('<PlanonSession xmlns="https://wgfd-cafa02.uni.mdx.ac.uk:8443/nyx/services">'
|| '</PlanonSession>');
retx := sys.utl_dbws.invoke(call_,xml_string);
dbms_output.put_line('Step 6');
dbms_output.put_line('Step 7');
dbms_output.put_line('Call Web Service:services:PlanonSession: ' || retx.getStringVal());
dbms_output.put_line('Step 10');
sys.utl_dbws.release_call(call_);
sys.utl_dbws.release_service(service_);
dbms_output.put_line('Step 11');
EXCEPTION
when others then
dbms_output.put_line(SQLCODE || ' - ' || SQLERRM);
END;
The WSDL document is :
?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://PlanonWebServices.ws" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://PlanonWebServices.ws">
<wsdl:documentation>PlanonSession</wsdl:documentation>
<wsdl:types>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://PlanonWebServices.ws">
<xs:complexType name="Exception">
<xs:sequence>
<xs:element minOccurs="0" name="Exception" nillable="true" type="xs:anyType"/>
</xs:sequence>
</xs:complexType>
<xs:element name="logout">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="param0" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="logoutResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setReferenceDate">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="param0" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="param1" nillable="true" type="xs:dateTime"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setReferenceDateResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setSessionDataSection">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="param0" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="param1" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setSessionDataSectionResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="login">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="param0" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="param1" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="loginResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
<wsdl:message name="logoutRequest">
<wsdl:part name="parameters" element="ns:logout"/>
</wsdl:message>
<wsdl:message name="logoutResponse">
<wsdl:part name="parameters" element="ns:logoutResponse"/>
</wsdl:message>
<wsdl:message name="loginRequest">
<wsdl:part name="parameters" element="ns:login"/>
</wsdl:message>
<wsdl:message name="loginResponse">
<wsdl:part name="parameters" element="ns:loginResponse"/>
</wsdl:message>
<wsdl:message name="setSessionDataSectionRequest">
<wsdl:part name="parameters" element="ns:setSessionDataSection"/>
</wsdl:message>
<wsdl:message name="setSessionDataSectionResponse">
<wsdl:part name="parameters" element="ns:setSessionDataSectionResponse"/>
</wsdl:message>
<wsdl:message name="setReferenceDateRequest">
<wsdl:part name="parameters" element="ns:setReferenceDate"/>
</wsdl:message>
<wsdl:message name="setReferenceDateResponse">
<wsdl:part name="parameters" element="ns:setReferenceDateResponse"/>
</wsdl:message>
<wsdl:portType name="PlanonSessionPortType">
<wsdl:operation name="logout">
<wsdl:input message="ns:logoutRequest" wsaw:Action="urn:logout"/>
<wsdl:output message="ns:logoutResponse" wsaw:Action="urn:logoutResponse"/>
</wsdl:operation>
<wsdl:operation name="login">
<wsdl:input message="ns:loginRequest" wsaw:Action="urn:login"/>
<wsdl:output message="ns:loginResponse" wsaw:Action="urn:loginResponse"/>
</wsdl:operation>
<wsdl:operation name="setSessionDataSection">
<wsdl:input message="ns:setSessionDataSectionRequest" wsaw:Action="urn:setSessionDataSection"/>
<wsdl:output message="ns:setSessionDataSectionResponse" wsaw:Action="urn:setSessionDataSectionResponse"/>
</wsdl:operation>
<wsdl:operation name="setReferenceDate">
<wsdl:input message="ns:setReferenceDateRequest" wsaw:Action="urn:setReferenceDate"/>
<wsdl:output message="ns:setReferenceDateResponse" wsaw:Action="urn:setReferenceDateResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="PlanonSessionSoap11Binding" type="ns:PlanonSessionPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="logout">
<soap:operation soapAction="urn:logout" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="login">
<soap:operation soapAction="urn:login" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="setSessionDataSection">
<soap:operation soapAction="urn:setSessionDataSection" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="setReferenceDate">
<soap:operation soapAction="urn:setReferenceDate" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="PlanonSessionSoap12Binding" type="ns:PlanonSessionPortType">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="logout">
<soap12:operation soapAction="urn:logout" style="document"/>
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="login">
<soap12:operation soapAction="urn:login" style="document"/>
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="setSessionDataSection">
<soap12:operation soapAction="urn:setSessionDataSection" style="document"/>
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="setReferenceDate">
<soap12:operation soapAction="urn:setReferenceDate" style="document"/>
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="PlanonSessionHttpBinding" type="ns:PlanonSessionPortType">
<http:binding verb="POST"/>
<wsdl:operation name="logout">
<http:operation location="PlanonSession/logout"/>
<wsdl:input>
<mime:content type="text/xml" part="logout"/>
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" part="logout"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="login">
<http:operation location="PlanonSession/login"/>
<wsdl:input>
<mime:content type="text/xml" part="login"/>
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" part="login"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="setSessionDataSection">
<http:operation location="PlanonSession/setSessionDataSection"/>
<wsdl:input>
<mime:content type="text/xml" part="setSessionDataSection"/>
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" part="setSessionDataSection"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="setReferenceDate">
<http:operation location="PlanonSession/setReferenceDate"/>
<wsdl:input>
<mime:content type="text/xml" part="setReferenceDate"/>
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" part="setReferenceDate"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="PlanonSession">
<wsdl:port name="PlanonSessionHttpSoap11Endpoint" binding="ns:PlanonSessionSoap11Binding">
<soap:address location="http://10.13.84.121:8080/nyx/services/PlanonSession.PlanonSessionHttpSoap11Endpoint/"/>
</wsdl:port>
<wsdl:port name="PlanonSessionHttpSoap12Endpoint" binding="ns:PlanonSessionSoap12Binding">
<soap12:address location="http://10.13.84.121:8080/nyx/services/PlanonSession.PlanonSessionHttpSoap12Endpoint/"/>
</wsdl:port>
<wsdl:port name="PlanonSessionHttpEndpoint" binding="ns:PlanonSessionHttpBinding">
<http:address location="http://10.13.84.121:8080/nyx/services/PlanonSession.PlanonSessionHttpEndpoint/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Any help is greatly appreciated.
Thanks in advance
I got the same error... did you find a solution?
tks
Mário Cardia
Similar Messages
-
Error ORA-29532 service does not contain port
I used utl_dbws in this simple function:
CREATE OR REPLACE FUNCTION get_meteo (p_int_1 IN VARCHAR2,
p_int_2 IN VARCHAR2)
RETURN VARCHAR2
AS
l_service UTL_DBWS.service;
l_call UTL_DBWS.call;
l_wsdl_url VARCHAR2(32767);
l_namespace VARCHAR2(32767);
l_service_qname UTL_DBWS.qname;
l_port_qname UTL_DBWS.qname;
l_operation_qname UTL_DBWS.qname;
l_xmltype_in SYS.XMLTYPE;
l_xmltype_out SYS.XMLTYPE;
l_return NUMBER;
BEGIN
l_wsdl_url := 'http://www.webservicex.net/globalweather.asmx?WSDL';
l_namespace := 'http://www.webserviceX.NET/';
l_service_qname := UTL_DBWS.to_qname(l_namespace, 'GlobalWeather');
l_port_qname := UTL_DBWS.to_qname(l_namespace, 'GlobalWeatherSoap');
l_operation_qname := UTL_DBWS.to_qname(l_namespace, 'GetWeather');
l_service := UTL_DBWS.create_service (
wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
service_name => l_service_qname);
l_call := UTL_DBWS.create_call (
service_handle => l_service,
port_name => l_port_qname,
operation_name => l_operation_qname);
l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
<ws_add xmlns="' || l_namespace || '">
<CountryName>' || p_int_1 || '</CountryName>
<CityName>' || p_int_2 || '</CityName>
</ws_add>');
l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call,
request => l_xmltype_in);
UTL_DBWS.release_call (call_handle => l_call);
UTL_DBWS.release_service (service_handle => l_service);
l_return := l_xmltype_out.extract('//return/text()').GetStringVal();
RETURN l_return;
END;
SELECT get_meteo('Italy', 'Milan') FROM dual;
When I try to execute it, I get the error:
ORA-29532: chiamata Java terminata a causa di un'eccezione Java non ottenuta:
service: {http://www.webserviceX.NET/}GlobalWeather does not contain port:
{{http://www.webserviceX.NET/}GlobalWeather}GlobalWeatherSoap
ORA-06512: a "SYS.UTL_DBWS", line 266
ORA-06512: a "SYS.GET_METEO", line 29
Why? Where is the mistake?
Here is definition of the webservice:
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.webserviceX.NET" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://www.webserviceX.NET" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsdl:types>
- <s:schema elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET">
- <s:element name="GetWeather">ort
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="CityName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="CountryName" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="GetWeatherResponse">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetWeatherResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="GetCitiesByCountry">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="CountryName" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="GetCitiesByCountryResponse">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetCitiesByCountryResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="string" nillable="true" type="s:string" />
</s:schema>
</wsdl:types>
- <wsdl:message name="GetWeatherSoapIn">
<wsdl:part name="parameters" element="tns:GetWeather" />
</wsdl:message>
- <wsdl:message name="GetWeatherSoapOut">
<wsdl:part name="parameters" element="tns:GetWeatherResponse" />
</wsdl:message>
- <wsdl:message name="GetCitiesByCountrySoapIn">
<wsdl:part name="parameters" element="tns:GetCitiesByCountry" />
</wsdl:message>
- <wsdl:message name="GetCitiesByCountrySoapOut">
<wsdl:part name="parameters" element="tns:GetCitiesByCountryResponse" />
</wsdl:message>
- <wsdl:message name="GetWeatherHttpGetIn">
<wsdl:part name="CityName" type="s:string" />
<wsdl:part name="CountryName" type="s:string" />
</wsdl:message>
- <wsdl:message name="GetWeatherHttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
- <wsdl:message name="GetCitiesByCountryHttpGetIn">
<wsdl:part name="CountryName" type="s:string" />
</wsdl:message>
- <wsdl:message name="GetCitiesByCountryHttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
- <wsdl:message name="GetWeatherHttpPostIn">
<wsdl:part name="CityName" type="s:string" />
<wsdl:part name="CountryName" type="s:string" />
</wsdl:message>
- <wsdl:message name="GetWeatherHttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
- <wsdl:message name="GetCitiesByCountryHttpPostIn">
<wsdl:part name="CountryName" type="s:string" />
</wsdl:message>
- <wsdl:message name="GetCitiesByCountryHttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
- <wsdl:portType name="GlobalWeatherSoap">
- <wsdl:operation name="GetWeather">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get weather report for all major cities around the world.</wsdl:documentation>
<wsdl:input message="tns:GetWeatherSoapIn" />
<wsdl:output message="tns:GetWeatherSoapOut" />
</wsdl:operation>
- <wsdl:operation name="GetCitiesByCountry">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get all major cities by country name(full / part).</wsdl:documentation>
<wsdl:input message="tns:GetCitiesByCountrySoapIn" />
<wsdl:output message="tns:GetCitiesByCountrySoapOut" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:portType name="GlobalWeatherHttpGet">
- <wsdl:operation name="GetWeather">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get weather report for all major cities around the world.</wsdl:documentation>
<wsdl:input message="tns:GetWeatherHttpGetIn" />
<wsdl:output message="tns:GetWeatherHttpGetOut" />
</wsdl:operation>
- <wsdl:operation name="GetCitiesByCountry">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get all major cities by country name(full / part).</wsdl:documentation>
<wsdl:input message="tns:GetCitiesByCountryHttpGetIn" />
<wsdl:output message="tns:GetCitiesByCountryHttpGetOut" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:portType name="GlobalWeatherHttpPost">
- <wsdl:operation name="GetWeather">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get weather report for all major cities around the world.</wsdl:documentation>
<wsdl:input message="tns:GetWeatherHttpPostIn" />
<wsdl:output message="tns:GetWeatherHttpPostOut" />
</wsdl:operation>
- <wsdl:operation name="GetCitiesByCountry">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get all major cities by country name(full / part).</wsdl:documentation>
<wsdl:input message="tns:GetCitiesByCountryHttpPostIn" />
<wsdl:output message="tns:GetCitiesByCountryHttpPostOut" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="GlobalWeatherSoap" type="tns:GlobalWeatherSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="GetWeather">
<soap:operation soapAction="http://www.webserviceX.NET/GetWeather" style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="GetCitiesByCountry">
<soap:operation soapAction="http://www.webserviceX.NET/GetCitiesByCountry" style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:binding name="GlobalWeatherSoap12" type="tns:GlobalWeatherSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="GetWeather">
<soap12:operation soapAction="http://www.webserviceX.NET/GetWeather" style="document" />
- <wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="GetCitiesByCountry">
<soap12:operation soapAction="http://www.webserviceX.NET/GetCitiesByCountry" style="document" />
- <wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:binding name="GlobalWeatherHttpGet" type="tns:GlobalWeatherHttpGet">
<http:binding verb="GET" />
- <wsdl:operation name="GetWeather">
<http:operation location="/GetWeather" />
- <wsdl:input>
<http:urlEncoded />
</wsdl:input>
- <wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="GetCitiesByCountry">
<http:operation location="/GetCitiesByCountry" />
- <wsdl:input>
<http:urlEncoded />
</wsdl:input>
- <wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:binding name="GlobalWeatherHttpPost" type="tns:GlobalWeatherHttpPost">
<http:binding verb="POST" />
- <wsdl:operation name="GetWeather">
<http:operation location="/GetWeather" />
- <wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
- <wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="GetCitiesByCountry">
<http:operation location="/GetCitiesByCountry" />
- <wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
- <wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="GlobalWeather">
- <wsdl:port name="GlobalWeatherSoap" binding="tns:GlobalWeatherSoap">
<soap:address location="http://www.webservicex.com/globalweather.asmx" />
</wsdl:port>
- <wsdl:port name="GlobalWeatherSoap12" binding="tns:GlobalWeatherSoap12">
<soap12:address location="http://www.webservicex.com/globalweather.asmx" />
</wsdl:port>
- <wsdl:port name="GlobalWeatherHttpGet" binding="tns:GlobalWeatherHttpGet">
<http:address location="http://www.webservicex.com/globalweather.asmx" />
</wsdl:port>
- <wsdl:port name="GlobalWeatherHttpPost" binding="tns:GlobalWeatherHttpPost">
<http:address location="http://www.webservicex.com/globalweather.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>l_namespace := 'http://www.webserviceX.NET/';
According to the WSDL, the target namespace is :
http://www.webserviceX.NET(no ending slash)
See if it makes a difference.
I don't have UTL_DBWS installed to test, but the webservice works well when invoked via UTL_HTTP :
SQL> DECLARE
2 req_text VARCHAR2(4000) :=
3 '<?xml version="1.0" encoding="utf-8"?>
4 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
5 <soap:Body>
6 <GetWeather xmlns="http://www.webserviceX.NET">
7 <CityName>Nantes</CityName>
8 <CountryName>France</CountryName>
9 </GetWeather>
10 </soap:Body>
11 </soap:Envelope>';
12
13 req utl_http.req;
14 res utl_http.resp;
15 res_text VARCHAR2(32767);
16
17 BEGIN
18
19 req := utl_http.begin_request('www.webservicex.net/globalweather.asmx', 'POST', 'HTTP/1.1');
20 utl_http.set_header(req, 'Content-Type', 'text/xml');
21 utl_http.set_header(req, 'Content-Length', length(req_text));
22 utl_http.set_header(req, 'SOAPAction', 'http://www.webserviceX.NET/GetWeather');
23
24 utl_http.write_text(req, req_text);
25
26 res := utl_http.get_response(req);
27 utl_http.read_text(res, res_text);
28 utl_http.end_response(res);
29
30 dbms_output.put_line(res_text);
31
32 END;
33 /
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetWeatherResponse xmlns="http://www.webserviceX.NET"><GetWeatherResult><?xml version="1.0" encoding="utf-16"?>
<CurrentWeather>
<Location>Nantes, France (LFRS) 47-10N 001-36W 27M</Location>
<Time>Feb 12, 2012 - 06:30 AM EST / 2012.02.12 1130 UTC</Time>
<Wind> from the ENE (060 degrees) at 9 MPH (8 KT):0</Wind>
<Visibility> greater than 7 mile(s):0</Visibility>
<Temperature> 32 F (0 C)</Temperature>
<Wind>Windchill: 24 F (-4 C):1</Wind>
<DewPoint> 8 F (-13 C)</DewPoint>
<RelativeHumidity> 36%</RelativeHumidity>
<Pressure> 30.53 in. Hg (1034 hPa)</Pressure>
<Status>Success</Status>
</CurrentWeather></GetWeatherResult></GetWeatherResponse></soap:Body></soap:Envelope>
PL/SQL procedure successfully completed
Or directly with the HTTP GET protocol :
SQL> select *
2 from xmltable(
3 '/CurrentWeather'
4 passing xmlparse(document
5 xmlcast(
6 xmlquery(
7 'declare default element namespace "http://www.webserviceX.NET"; /string'
8 passing httpuritype('http://www.webservicex.net/globalweather.asmx/GetWeather?CityName=Nantes&CountryName=France').getXML()
9 returning content
10 ) as varchar2(4000)
11 )
12 )
13 columns location varchar2(100) path 'Location'
14 , pressure varchar2(100) path 'Pressure'
15 , temperature varchar2(100) path 'Temperature'
16 );
LOCATION PRESSURE TEMPERATURE
Nantes, France (LFRS) 47-10N 001-36W 27M 30.53 in. Hg (1034 hPa) 32 F (0 C) -
Fix for "Not Connected" Error Messages When Trying to Access Web Services
If you run across an error message on your printer stating that it is "Not Connected" when trying to access ePrint or your Apps, but you know it is connected to the internet, it probably just means that the printer is not connecting to the server properly.
Here is the first set of steps I would try, since they seem to resolve this issue half of the time.
The first thing I would try in this situation is a network reboot.
First, disconnect the power cord from the back of your router.
Next disconnect the power cord from either the back of the printer or the wall, without powering it off first.
Wait about 30 seconds and reconnect the power cord to your router.
Wait about another 30 seconds and plug the printer back in. It should boot back up automatically, but if it doesn't go ahead and press the power button.
Once everything is back up and running, try to access ePrint or your Apps.
If those steps don't work for you, the next thing would be setting a Static IP & DNS for the printer. Before doing this, you want to print off a network configuration page. It varies from model to model, but it is usually found under the Wireless Settings or under Reports in the Setup menu. After you have that page, follow these steps.
Before we start, we need a network configuration page with your current connection settings. To get this, press the wireless button on the front of your printer and then press "Print Info" or "Print Report". This will print off a network configuration page, which has information on it that we need to complete the next few steps.
After you have that, we will need to access the printers Embedded Web Server (EWS). You can do so by entering the printers IP address (from the network configuration page) into your browsers address bar and pressing enter.
Once there, press the "Network" tab at the top of the page. From there you will want to click the "IPv4" button, located on the lef-hand side of the page. It will be there for WIreless and Wired, so make sure to click the one for you however you are connected. If you do not see "IPv4", you should see "Networking", press that and then press "Network Address(IP)".
Next, you will want to click the small round button next to "Manual IP Address" and then fill in the boxes for IP Address, Subnet Mask, and Default Gateway, using the information found on the network configuration page.
For the Primary or Preffered DNS Server, you will want to enter 8.8.8.8.
For the Secondary or Alternate DNS Server, you will want to enter 8.8.4.4.
Click apply and when the message pops up saying that the changes have been applied, press "OK".
Press the power button on your printer, wait for it to fully power off and then press it again to power it back on.
After doing this, go ahead and try to enable ePrint again.
-------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
This question was solved.
View Solution.The reason we recommend using 8.8.8.8 and 8.8.4.4 for the DNS server is because they work when ISP assigned DNS servers do not. The DNS server assigned to you by your ISP is not able to resolve the domain for web services, therefore not allowing the printer to connect.
I assure you that it is with your ISP's DNS server and not the printer. If you were to take the printer back to the store and get a replacement, you would have the same issue, unless you changed the DNS. Same goes for any of our web service enabled printers.
-------------How do I give Kudos? | How do I mark a post as Solved? -------------------------------------------------------- -
Not able to access Web services
Hi all,
I am trying to access web services using the transaction WSADMIN.
But when i give the authorization while generating the WSDL, the following error pops up:
<b>Technical Details of Soap Core Exception
Message Text: SRT: ASSERT failed: object reference not bound
Class: CL_SOAP_REGISTRY
Method: generate_wsdl
LocationID: 6
Program: CL_SOAP_REGISTRY==============CP
Include: CL_SOAP_REGISTRY==============CM00J
Line: 59</b>
Can anyboby share his/her insights in this regard?
Thanks,
AnkitHi Fernando,
Thanks for this.
I was able to activate and deactivate the services. But i was not able to test these services (HTTP 500 Internal server error).
Also the services which are listed in the trnx SICF are not present in the trnx WSADMIN (I am using trnx WSADMIN to go to the home page of the web service and download the WSDL file of the service). What may be the reason?
Is there some configuration setting which I am missing or is it some other problem?
Regards,
Ankit -
Not able to access web service with axis and tomcat
Dear all
i am trying to access web service using axis in tomcat.
i downloaded axis-bin-1_4.zip, unzipped it and installed it properly in tomcat.
i had tested axis, its working fine.
i had created a simple java class(a sample class from book) and deployed it in axis. i also created a client(a java consol class) for accessing that web service. but its giving error. i have no idea why this is comming.
plz point me in right direction.
thanks in advance
The error is:
Exception in thread "main" AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (404)/axis/ArithmeticProcessor.jws
faultActor:
faultNode:
faultDetail:
{}:return code: 404
<html><head><title>Apache Tomcat/6.0.14 - Error report</tit
le><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;ba
ckground-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;
color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Ari
al,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-f
amily:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-famil
y:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:
Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color :
black;}A.name {color : black;}HR {color : #525D76;}--></style> </hea
d><body><h1>HTTP Status 404 - /axis/ArithmeticProcessor.jws</h
1><HR size="1" noshade="noshade"><p><b>
type</b> Status report</p><p><b>message</b> <u&
gt;/axis/ArithmeticProcessor.jws</u></p><p><b>descriptio
n</b> <u>The requested resource (/axis/ArithmeticProcessor.jws) is n
ot available.</u></p><HR size="1" noshade="noshade
"><h3>Apache Tomcat/6.0.14</h3></body></html>
{http://xml.apache.org/axis/}HttpErrorCode:404
(404)/axis/ArithmeticProcessor.jws
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j
ava:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at ArithmeticClient.main(ArithmeticClient.java:50)Hi ,
Please go through this link and check in this way only you created the webservice correctly or not. If not follow and do it definitely will get you the webservice access by iphone or any application.
www.scribd.com/doc/19255987/Web-Services-in-Abap -
Hi,
I am using EWS Java APIs and passing OAuth tokens to fetch data from office 365 mailboxes.
Because I am developing Web APIs I preferred using "Application Permissions" defined in Azure active directory application for Office 365, and used "client credential flow" OAuth flow to fetch OAuth token specific to application which will
allow "Have full access via EWS to all mailboxes in the organisation".
After fetching token with the procedure specified in the document "http://blogs.msdn.com/b/exchangedev/archive/2015/01/21/building-demon-or-service-apps-with-office-365-mail-calendar-and-contacts-apis-oauth2-client-credential-flow.aspx"
I passed this token to EWS Java APIs,
it gave me error saying:
microsoft.exchange.webservices.data.ServiceResponseException: Exchange Web Services are not currently available for this request because none of the Client Access Servers in the destination site could process the request.
I tried similar thing with EWS managed APIs for .net. Got similar error.
Can anyone provide some help and direction to resolve this error.
Thanks & Best Regards,
PranjalI see you found an answer with the X-AnchorMailbox header on StackOverflow:
http://stackoverflow.com/questions/29554724/exchange-web-services-are-not-currently-available-for-this-request-because-none -
Error at run time When Access Web Service in web dynpro java
Hi
I am used web service created on other machine.I am used wsdl file created in web service.
is there any setting on J2EE Engine server for accessing web service? after run web dynpro application it gives following error.
The initial exception that caused the request to fail, was:
java.io.IOException: Unable to open connection to host "128.9.125.6:8000". Connection timed out:could be due to invalid address.
at com.tssap.dtr.client.lib.protocol.Connection.openSocket(Connection.java:2117)
at com.tssap.dtr.client.lib.protocol.Connection.open(Connection.java:1380)
at com.tssap.dtr.client.lib.protocol.Connection.sendInternal(Connection.java:1534)
at com.tssap.dtr.client.lib.protocol.Connection.send(Connection.java:1427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
... 50 more
please help me.
thank in advanceHi,
java.io.IOException: Unable to open connection to host "128.9.125.6:8000". Connection timed out: could be due to invalid address. first check it are you able to connect the WSNavigator. I think you are not able to connect the WSNavigator and are you able to see the WebService in WSNavigator?
Procedure
To import a Web service model, proceed as follows:
1. Choose the context menu entry -
Create Model on the -
Models node of the relevant component.
2. In the model wizard, choose Import Web Service Model followed by Next.
3. In the second wizard window, enter a model name and specify the package and source code directory. The name of the proxy package is created automatically when you specify the model package.
4. Select whether your Web service source is from a local server, is addressed using a URL, or whether it is a UDDI service.
5. If you select Local File System or URL, choosing Next will take you to the following window in which you enter a local WSDL URL or select one by choosing Browse.
6. If you selected the option UDDI or URL, choosing Next will take you to the following wizard window in which you either enter a WSDL URL of a UDDI service directly or select one by choosing UDDIu2026
Enter the WSDL description of the Web service in the Wsdl field u2013 for example, http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService for an e-mail service.
You do not need to make any entries in the next step, Proxy Definition / URI Package Mappings. Choose Finish to close the window.
7. Switch to the Package Explorer view, select the file lport1.lp in the directory \src\packages\<myPackage>\, and check the port entries.
Hope this helps!!
Regards
Vijay -
Does not contain port: null
Hi there,
I had deployed 2 web services, one of it is working another one isn't. Both of the web services implementing the same/identical ways. The exception i got it:
service: {http://localhost:8080/}ORMEngineService does not contain port: null
at com.sun.xml.rpc.client.dii.ConfiguredService.portNotFoundException(ConfiguredService.java:139)
at com.sun.xml.rpc.client.dii.ConfiguredService.getPortInfo(ConfiguredService.java:132)
at com.sun.xml.rpc.client.dii.ConfiguredService.getPort(ConfiguredService.java:245)
at com.sun.xml.rpc.client.dii.ConfiguredService.getPort(ConfiguredService.java:152)
at gov.mohr.ems.core.entity.logic.ORMEngineWebServicesTest.test1(ORMEngineWebServicesTest.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
...Below are my references:
1. mapping file:
<?xml version="1.0" encoding="UTF-8"?>
<java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
<package-mapping>
<package-type>gov.mohr.ems.core.entity.logic</package-type>
<namespaceURI>http://localhost:8080/types</namespaceURI>
</package-mapping>
<package-mapping>
<package-type>gov.mohr.ems.core.entity.logic</package-type>
<namespaceURI>http://localhost:8080/</namespaceURI>
</package-mapping>
<service-interface-mapping>
<service-interface>gov.mohr.ems.core.entity.logic.ORMEngineService</service-interface>
<wsdl-service-name xmlns:serviceNS="http://localhost:8080/">serviceNS:ORMEngineService</wsdl-service-name>
<port-mapping>
<port-name>ORMEngineServiceEndpointPort</port-name>
<java-port-name>ORMEngineServiceEndpointPort</java-port-name>
</port-mapping>
</service-interface-mapping>
<service-endpoint-interface-mapping>
<service-endpoint-interface>gov.mohr.ems.core.entity.logic.ORMEngineServiceEndpoint</service-endpoint-interface>
<wsdl-port-type xmlns:portTypeNS="http://localhost:8080/">portTypeNS:ORMEngineServiceEndpoint</wsdl-port-type>
<wsdl-binding xmlns:bindingNS="http://localhost:8080/">bindingNS:ORMEngineServiceEndpointBinding</wsdl-binding>
<service-endpoint-method-mapping>
<java-method-name>executeQuery</java-method-name>
<wsdl-operation>executeQuery</wsdl-operation>
<method-param-parts-mapping>
<param-position>0</param-position>
<param-type>java.lang.String</param-type>
<wsdl-message-mapping>
<wsdl-message xmlns:wsdlMsgNS="http://localhost:8080/">wsdlMsgNS:ORMEngineServiceEndpoint_executeQuery</wsdl-message>
<wsdl-message-part-name>String_1</wsdl-message-part-name>
<parameter-mode>IN</parameter-mode>
</wsdl-message-mapping>
</method-param-parts-mapping>
<wsdl-return-value-mapping>
<method-return-value>java.lang.String</method-return-value>
<wsdl-message xmlns:wsdlMsgNS="http://localhost:8080/">wsdlMsgNS:ORMEngineServiceEndpoint_executeQueryResponse</wsdl-message>
<wsdl-message-part-name>result</wsdl-message-part-name>
</wsdl-return-value-mapping>
</service-endpoint-method-mapping>
</service-endpoint-interface-mapping>
</java-wsdl-mapping>2. WSDL file:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ORMEngineService" targetNamespace="http://localhost:8080/" xmlns:tns="http://localhost:8080/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<types/>
<message name="ORMEngineServiceEndpoint_executeQuery">
<part name="String_1" type="xsd:string"/></message>
<message name="ORMEngineServiceEndpoint_executeQueryResponse">
<part name="result" type="xsd:string"/></message>
<portType name="ORMEngineServiceEndpoint">
<operation name="executeQuery" parameterOrder="String_1">
<input message="tns:ORMEngineServiceEndpoint_executeQuery"/>
<output message="tns:ORMEngineServiceEndpoint_executeQueryResponse"/></operation></portType>
<binding name="ORMEngineServiceEndpointBinding" type="tns:ORMEngineServiceEndpoint">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
<operation name="executeQuery">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal" namespace="http://localhost:8080/"/></input>
<output>
<soap:body use="literal" namespace="http://localhost:8080/"/></output></operation></binding>
<service name="ORMEngineService">
<port name="ORMEngineServiceEndpointPort" binding="tns:ORMEngineServiceEndpointBinding">
<soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>The following are the working copies of the same implmentation:
1. webservices.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : webservices.xml
Created on : May 11, 2006, 5:36 PM
Author : david
Description:
Web Services Configuration File for EJB Container
-->
<webservices xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1\.xsd" version="1.1">
<webservice-description>
<webservice-description-name>PersistenceService</webservice-description-name>
<wsdl-file>META-INF/wsdl/PersistenceService.wsdl</wsdl-file>
<jaxrpc-mapping-file>META-INF/mapping-persistence.xml</jaxrpc-mapping-file>
<port-component>
<port-component-name>PersistencePort</port-component-name>
<wsdl-port>PersistenceServiceEndpointPort</wsdl-port>
<service-endpoint-interface>gov.mohr.ems.core.entity.logic.PersistenceServiceEndpoint</service-endpoint-interface>
<service-impl-bean>
<ejb-link>PersistenceEJB</ejb-link>
</service-impl-bean>
</port-component>
</webservice-description>
<webservice-description>
<webservice-description-name>ORMEngineService</webservice-description-name>
<wsdl-file>META-INF/wsdl/ORMEngineService.wsdl</wsdl-file>
<jaxrpc-mapping-file>META-INF/mapping-ormengine.xml</jaxrpc-mapping-file>
<port-component>
<port-component-name>ORMEnginePort</port-component-name>
<wsdl-port>ORMEngineServiceEndpointPort</wsdl-port>
<service-endpoint-interface>gov.mohr.ems.core.entity.logic.ORMEngineServiceEndpoint</service-endpoint-interface>
<service-impl-bean>
<ejb-link>ORMEngineEJB</ejb-link>
</service-impl-bean>
</port-component>
</webservice-description>
</webservices>2. ejb-jar.xml
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
<display-name>Enforcement Management System Backend</display-name>
<enterprise-beans>
<!--<session>
<display-name>WorkflowJAR</display-name>
<ejb-name>WorkflowEJB</ejb-name>
<home>gov.mohr.ems.core.workflow.logic.WorkflowRemoteHome</home>
<remote>gov.mohr.ems.core.workflow.logic.WorkflowRemote</remote>
<ejb-class>gov.mohr.ems.core.workflow.logic.WorkflowBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<env-entry>
<env-entry-name>ejb/BeanFactoryPath</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>/META-INF/applicationcontext-ejb.xml</env-entry-value>
</env-entry>
</session>-->
<!--<session>
<display-name>NotificationJAR</display-name>
<ejb-name>NotificationEJB</ejb-name>
<home>gov.mohr.ems.core.notification.logic.NotificationRemoteHome</home>
<remote>gov.mohr.ems.core.notification.logic.NotificationRemote</remote>
<ejb-class>gov.mohr.ems.core.notification.logic.NotificationBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<env-entry>
<env-entry-name>ejb/BeanFactoryPath</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>/META-INF/applicationcontext-ejb.xml</env-entry-value>
</env-entry>
</session>-->
<session>
<display-name>ORMEngineJAR</display-name>
<ejb-name>ORMEngineEJB</ejb-name>
<service-endpoint>gov.mohr.ems.core.entity.logic.ORMEngineServiceEndpoint</service-endpoint>
<!--<home>gov.mohr.ems.core.entity.logic.ORMEngineRemoteHome</home>
<remote>gov.mohr.ems.core.entity.logic.ORMEngineRemote</remote>-->
<ejb-class>gov.mohr.ems.core.entity.logic.ORMEngineBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<env-entry>
<env-entry-name>ejb/BeanFactoryPath</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>/META-INF/applicationcontext-ejb.xml</env-entry-value>
</env-entry>
</session>
<session>
<display-name>PersistenceJAR</display-name>
<ejb-name>PersistenceEJB</ejb-name>
<service-endpoint>gov.mohr.ems.core.entity.logic.PersistenceServiceEndpoint</service-endpoint>
<!--<home>gov.mohr.ems.core.entity.logic.PersistenceRemoteHome</home>
<remote>gov.mohr.ems.core.entity.logic.PersistenceRemote</remote>-->
<ejb-class>gov.mohr.ems.core.entity.logic.PersistenceBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<env-entry>
<env-entry-name>ejb/BeanFactoryPath</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>/META-INF/applicationcontext-ejb.xml</env-entry-value>
</env-entry>
</session>
</enterprise-beans>
<assembly-descriptor>
<!--<container-transaction>
<method>
<ejb-name>WorkflowEJB</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>-->
<!--<container-transaction>
<method>
<ejb-name>NotificationEJB</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>-->
<container-transaction>
<method>
<ejb-name>ORMEngineEJB</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PersistenceEJB</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>3. applicationcontext-ejb.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD// BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
<!--
Document : applicationcontext-ejb.xml
Created on : April 26, 2006, 9:07 PM
Author : david
Description:
Spring configuration.
-->
<beans default-autowire="byName">
<bean id="sessionFactory" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName">
<value>java:hibernate/SessionFactory</value>
</property>
</bean>
<!--<bean id="gov.mohr.ems.core.workflow.logic.Workflow" class="gov.mohr.ems.core.workflow.logic.WorkflowImpl"/>-->
<!--<bean id="gov.mohr.ems.core.notification.logic.Notification" class="gov.mohr.ems.core.notification.logic.NotificationImpl"/>-->
<!-- Backend -->
<bean id="gov.mohr.ems.core.entity.logic.DefaultQueryMethod" class="gov.mohr.ems.core.entity.logic.DefaultQueryMethod"/>
<bean id="gov.mohr.ems.core.entity.logic.ORMEngine" class="gov.mohr.ems.core.entity.logic.ORMEngineImpl">
<property name="queryMethodMap">
<map>
<entry key="CustomerSampleKey">
<value>CustomerSampleClassName</value>
</entry>
</map>
</property>
</bean>
<bean id="gov.mohr.ems.core.entity.logic.Persistence" class="gov.mohr.ems.core.entity.logic.PersistenceImpl"/>
</beans>4. working copy of mapping file:
<?xml version="1.0" encoding="UTF-8"?>
<java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
<package-mapping>
<package-type>gov.mohr.ems.core.entity.logic</package-type>
<namespaceURI>http://localhost:8080/types</namespaceURI>
</package-mapping>
<package-mapping>
<package-type>gov.mohr.ems.core.entity.logic</package-type>
<namespaceURI>http://localhost:8080/</namespaceURI>
</package-mapping>
<service-interface-mapping>
<service-interface>gov.mohr.ems.core.entity.logic.PersistenceService</service-interface>
<wsdl-service-name xmlns:serviceNS="http://localhost:8080/">serviceNS:PersistenceService</wsdl-service-name>
<port-mapping>
<port-name>PersistenceServiceEndpointPort</port-name>
<java-port-name>PersistenceServiceEndpointPort</java-port-name>
</port-mapping>
</service-interface-mapping>
<service-endpoint-interface-mapping>
<service-endpoint-interface>gov.mohr.ems.core.entity.logic.PersistenceServiceEndpoint</service-endpoint-interface>
<wsdl-port-type xmlns:portTypeNS="http://localhost:8080/">portTypeNS:PersistenceServiceEndpoint</wsdl-port-type>
<wsdl-binding xmlns:bindingNS="http://localhost:8080/">bindingNS:PersistenceServiceEndpointBinding</wsdl-binding>
<service-endpoint-method-mapping>
<java-method-name>upload</java-method-name>
<wsdl-operation>upload</wsdl-operation>
<method-param-parts-mapping>
<param-position>0</param-position>
<param-type>java.lang.String</param-type>
<wsdl-message-mapping>
<wsdl-message xmlns:wsdlMsgNS="http://localhost:8080/">wsdlMsgNS:PersistenceServiceEndpoint_upload</wsdl-message>
<wsdl-message-part-name>String_1</wsdl-message-part-name>
<parameter-mode>IN</parameter-mode>
</wsdl-message-mapping>
</method-param-parts-mapping>
<wsdl-return-value-mapping>
<method-return-value>java.lang.String</method-return-value>
<wsdl-message xmlns:wsdlMsgNS="http://localhost:8080/">wsdlMsgNS:PersistenceServiceEndpoint_uploadResponse</wsdl-message>
<wsdl-message-part-name>result</wsdl-message-part-name>
</wsdl-return-value-mapping>
</service-endpoint-method-mapping>
</service-endpoint-interface-mapping>
</java-wsdl-mapping>5. working copy of WSDL file:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="PersistenceService" targetNamespace="http://localhost:8080/" xmlns:tns="http://localhost:8080/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<types/>
<message name="PersistenceServiceEndpoint_upload">
<part name="String_1" type="xsd:string"/></message>
<message name="PersistenceServiceEndpoint_uploadResponse">
<part name="result" type="xsd:string"/></message>
<portType name="PersistenceServiceEndpoint">
<operation name="upload" parameterOrder="String_1">
<input message="tns:PersistenceServiceEndpoint_upload"/>
<output message="tns:PersistenceServiceEndpoint_uploadResponse"/></operation></portType>
<binding name="PersistenceServiceEndpointBinding" type="tns:PersistenceServiceEndpoint">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
<operation name="upload">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal" namespace="http://localhost:8080/"/></input>
<output>
<soap:body use="literal" namespace="http://localhost:8080/"/></output></operation></binding>
<service name="PersistenceService">
<port name="PersistenceServiceEndpointPort" binding="tns:PersistenceServiceEndpointBinding">
<soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>Anyone has any ideas?
Many thanks!if we examine the webservices.xml, there are 2 part:
<webservices xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1\.xsd" version="1.1">
<webservice-description>
<webservice-description-name>PersistenceService</webservice-description-name>
<wsdl-file>META-INF/wsdl/PersistenceService.wsdl</wsdl-file>
<jaxrpc-mapping-file>META-INF/mapping-persistence.xml</jaxrpc-mapping-file>
<port-component>
<port-component-name>PersistencePort</port-component-name>
<wsdl-port>
PersistenceServiceEndpointPort</wsdl-port>
<service-endpoint-interface>gov.mohr.ems.core.entity.logic.PersistenceServiceEndpoint</service-endpoint-interface>
<service-impl-bean>
<ejb-link>PersistenceEJB</ejb-link>
</service-impl-bean>
</port-component>
</webservice-description>
<webservice-description>
<webservice-description-name>ORMEngineService</webservice-description-name>
<wsdl-file>META-INF/wsdl/ORMEngineService.wsdl</wsdl-file>
<jaxrpc-mapping-file>META-INF/mapping-ormengine.xml</jaxrpc-mapping-file>
<port-component>
<port-component-name>ORMEnginePort</port-component-name>
<wsdl-port>
ORMEngineServiceEndpointPort</wsdl-port>
<service-endpoint-interface>gov.mohr.ems.core.entity.logic.ORMEngineServiceEndpoint</service-endpoint-interface>
<service-impl-bean>
<ejb-link>ORMEngineEJB</ejb-link>
</service-impl-bean>
</port-component>
</webservice-description>
</webservices>one is for Persistence service, one is for ORMEngine service. it is just that i need to put them both inside the same webservices.xml -
Web Service Security not configured on this component.
Hi Experts,
Before configuring the scenario, i went to RWB to check whether the comopnents are in active mode or not.
Integration Engine XID
Business Process Engine XID
Mapping Runtime XID
Adapter Engine XID
Integration Engines
All components are in Green mode Except Integration Engine, The Integration is in yellow mode
and shows the following details.
Details for 'Is Web service security available?'
Web Service Security not configured on this component.
Can you give the solution for this.Hi,
1, While sending idoc from sapR/3 to PI , in r/3 sm58 shows the foll error:
"No service for system SAPQA,client 200 in integration directory"*
Even the Bussiness sytem pointing R/3.
From your initial post, it appears that you are using XID system and from above error, I believe you are trying to send the IDoc from QA system. R3 dev will communicate to PI dev, so verify the partner profile and ports in your IDoc Header settings.
2, When i execute the tcode sm58 in PI it shows the following error:
"Syntax error in program SAPLSXI_AC_CACHE _REFERESH"
I am kinda confused how come sm58 tcode can show an error for this program, as sm58 is for checking the transactional RFCs and SAPLSXI_AC_CACHE_REFERESH is for XI Cache refresh for Alert Category. Might be some one else can explain this.
3, WHEN I EXECUTE THE tcode SXI_CACHE
Under the *STATUS OF RUNTIME CACHE
Unable to refresh cache contents
Error during last attempt toreferesh cache
(red colour triangle leading above both)
Check this SAP Note 764176, might help in your situation.
Worth reading - http://help.sap.com/saphelp_nw04/helpdata/en/0d/28e1c20a9d374cbb71875c5f89093b/frameset.htm
4, Still there is no messages in Message monitoring.
Obviously because of error # 1, you are unable to send IDocs, how come you expect messages to reach PI ... strange, isn't it
Hope this helps.
Regards,
Neetesh -
Access web service from tool area
Hi,
I want to edit the tool Area iView to invoke an external web services.
I created a tool Area iView to be customized by importing com.sap.portal.navigation.toolarea.par.bak file from the NW2004s and create new portal project.
I know how to edit add or remove any part from the tool area iview
But how I can access the web service proxy? or what is the best way to implement that.Stumbled into a small problem:
I have this method in my web service:
@WebMethod(operationName = "test")
public Integer test(@WebParam(name = "number")
int number) {
return number;
}My client looks like this
public static void main(String[] args) {
try {
String BODY_NAMESPACE_VALUE = /*namespace url*/;
QName port = new QName(/*Service name*/);
ServiceFactory factory = ServiceFactory.newInstance();
Service service = factory.createService(new QName(/*Service name*/));
Call call = service.createCall(port);
call.setTargetEndpointAddress(/*WSDL location*/);
call.setReturnType(XMLType.XSD_INT);
call.setOperationName(new QName(BODY_NAMESPACE_VALUE, "test"));
call.addParameter("number", XMLType.XSD_INT, ParameterMode.IN);
Integer[] i = new Integer[1];
i[0] = new Integer(20);
System.out.println("test :"+call.invoke(i));
} catch (Exception ex) {
ex.printStackTrace();
} I get return values ok from the web service in my java client since I tried getting a constant from the web service. However, in the case above I am trying to send 20 from the client to the web service and receive it back. However I am receiving 0. Does anyone know why sending parameters from client to web service is not working?
Thanks and regards,
Krt_Malta -
Urgent!! PL/SQL web service can not get output param in BPEL
OC4J 10.1.2 generate PL/SQL web service can not get output param can not get output param in BPEL when call a pl/sql webservice.
wsdl as follow:
<types>
<schema targetNamespace="http://db.func.getqf/COMMON.xsd" xmlns:tns="http://db.func.getqf/COMMON.xsd" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<complexType name="db_func_getqf_COMMONUser_getqf_Out">
<all>
<element name="pnqfysOut" type="xsd:decimal"/>
<element name="pnzqfOut" type="xsd:decimal"/>
</all>
</complexType>
</schema>
</types>
<message name="getqfOutput">
<part name="return" type="xsd1:db_func_getqf_COMMONUser_getqf_Out"/>
</message>the wsdl which generate by OC4J is as follows:
<?xml version="1.0" ?>
- <definitions name="COMMON" targetNamespace="http://db.func.getqf/COMMON.wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://db.func.getqf/COMMON.wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd1="http://db.func.getqf/COMMON.xsd">
<documentation>WSDL for Service: COMMON, generated by Oracle WSDL toolkit (version: 1.1)</documentation>
- <types>
- <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://db.func.getqf/COMMON.xsd" xmlns:tns="http://db.func.getqf/COMMON.xsd" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <complexType name="db_func_getqf_COMMONUser_getqf_Out">
- <all>
<element name="pnqfysOut" type="xsd:decimal" />
<element name="pnzqfOut" type="xsd:decimal" />
</all>
</complexType>
</schema>
</types>
- <message name="getqfOutput">
<part name="return" type="xsd1:db_func_getqf_COMMONUser_getqf_Out" />
</message>
- <message name="getqfInput">
<part name="param0" type="xsd:string" />
</message>
- <portType name="COMMONPortType">
- <operation name="getqf">
<input message="tns:getqfInput" />
<output message="tns:getqfOutput" />
</operation>
</portType>
- <binding name="COMMONBinding" type="tns:COMMONPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" />
- <operation name="getqf">
<soap:operation soapAction="urn:db-func-getqf-COMMON/getqf" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:db-func-getqf-COMMON" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:db-func-getqf-COMMON" />
</output>
</operation>
</binding>
- <service name="COMMON">
- <port name="COMMONPort" binding="tns:COMMONBinding">
<soap:address location="http://localhost:9700/plsqlgetqf/getqf" />
</port>
</service>
</definitions> -
Hi,
I'm not able to access the term store. I get an below mentioned error.
"The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started. Please Contact your Administrator. "
Since this is happening on my local machine (Dev environment). I have full control on the term store and the all the site collections.
Hence, this is not a permission issue.
I have checked, the Metadata service is active on the machine. All the application pools in IIS is running.
After reading one of the recommendation on internet, I created a new Managed Metadata Service.
After which I was able access both (old and new) MMS from Central Admin only (highlight the MMS from manage service applications and click Manage ) and not from the site collection (term store management).
Now again its not working after I did an IISRESET.
The managed metadata service (Managed Metadata Service Connection) is grayed out.
ULS Error says:
Failed to create ManageLink for service proxy 'Managed Metadata Service'. Exception: System.TimeoutException: The request channel timed out attempting to send after 00:00:09.9999999. Increase the timeout value passed to the call to Request or increase the SendTimeout
value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'http://mitkar4:32843/7a91ec90b46843e995c144be48d804f0/MetadataWebService.svc' has exceeded the allotted
timeout of 00:00:09.9990000. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out
Please let me know if you need more information.Hi Victoria,
Thanks for your reply
I tried making all the changes you had recommended and which are mentioned in the link you have provided.
I tried making all possible combination of changes to the web.config and client.config files but it does not make any difference to the environment.
One thing is that, my error in ULS logs has changed.
Error 1:
Exception returned from back end service. System.TimeoutException: The request channel timed out attempting to send after 00:00:09.9999999. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted
to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'http://mitkar4:32843/b1640facdf8b49b0886fea1bd37b8eb3/MetadataWebService.svc' has exceeded the allotted timeout of 00:00:09.9990000. The time
allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream() --- End of inner exception stack trace ---
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) --- End of inner exception stack trace --- Server stack trace:
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication.GetServiceSettings(Guid rawPartitionId)
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2f.<ReadApplicationSettings>b__2e(IMetadataWebServiceApplication serviceApplication)
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2c.<RunOnChannel>b__2b()
Error 2:
Error encountered in background cache check System.TimeoutException: The request channel timed out attempting to send after 00:00:09.9999999. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time
allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'http://mitkar4:32843/b1640facdf8b49b0886fea1bd37b8eb3/MetadataWebService.svc' has exceeded the allotted timeout of 00:00:09.9990000.
The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream() --- End of inner exception stack trace ---
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) --- End of inner exception stack trace --- Server stack trace:
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication.GetServiceSettings(Guid rawPartitionId)
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2f.<ReadApplicationSettings>b__2e(IMetadataWebServiceApplication serviceApplication)
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2c.<RunOnChannel>b__2b()
at Microsoft.Office.Server.Security.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2c.<RunOnChannel>b__2a()
at Microsoft.Office.Server.Utilities.MonitoredScopeWrapper.RunWithMonitoredScope(Action code)
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.RunOnChannel(CodeToRun codeToRun, Double operationTimeoutFactor)
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.ReadApplicationSettings(Guid rawPartitionId)
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.get_ServiceApplicationSettings()
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.TimeToCheckForUpdates()
at Microsoft.SharePoint.Taxonomy.Internal.TaxonomyCache.CheckForChanges()
at Microsoft.SharePoint.Taxonomy.Internal.TaxonomyCache.<LoopForChanges>b__0(). -
How to check error type in accessing web service?
Dear all,
I have created a form using WSDL connection to access web service in SOAP protocol.
But I have difficulties in error handling when acccessing web service.
I try to put a try catch block for the following statement :
ie. xfa.connectionSet.WebServiceDC.execute(false);
in case for any error, I can only catch message saying GeneralFault only.
Is there any extra object in the script that I can catch to handle for different error type?
e.g checking SOAP.? and where should I put the codes in?
Actualy I want to detect if network connection is not ok or if it fails to find ecert which is required under https connection
Rgds.Have you tried the try catch block ?
See the error codes it responds with.
Then look through the properties of the Exception
try
doInit();
} catch(err)
var vDebug = "";
for (var prop in err)
vDebug += "property: "+ prop+ " value: ["+ err[prop]+ "]\n";
vDebug += "toString(): " + " value: [" + err.toString() + "]";
status.rawValue = vDebug;
function doInit()
doWebServiceCallThatFails();
Have fun with these articles
http://blogs.adobe.com/formfeed/2009/06/collected_form_development_and.html
http://blogs.adobe.com/formfeed/2009/03/handling_javascript_exceptions.html -
WSUS not working completely, no MMC connect, all web services are not working
Hello all,
I have a problem not sure what causing it or what is the source of it as I am not into WSUS that much...
THe status is as follows:
I have 1 server 2008 sp2 RTM x64, I had WSUS 3.0 SP2 on it since a while, it was working fine until a week ago, when I started receiving the below messages in the event viewer
I have spent too much time trying to trace or troubleshoot this issue, but all I got was to check the registry and check permissions on the temp folder and other folders, I have done complete removal with the database for the old WSUS and reinstalled it
again but I got the same problem
Nothing strange and no problems happened on the server perior to this issue, it just happened...
Any help will be appreciated
Regards
============== MSG 1 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:52:54 PM
Event ID: 7053
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The WSUS administration console has encountered an unexpected error. This may be a transient error; try restarting the administration console. If this error persists,
Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC\.
System.InvalidOperationException -- Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
<html>
<head>
<title>Security Exception</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
</style>
</head>
<body bgcolor="white">
<span><H1>Server Error in '/ApiRemoting30' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>Security Exception</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact
your system administrator or change the application's trust level in the configuration file.
<br><br>
<b> Exception Details: </b>System.Security.SecurityException: That assembly does not allow partially trusted callers.<br><br>
<b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
</td>
</tr>
</table>
<br>
<b>Stack Trace:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
[SecurityException: That assembly does not allow partially trusted callers.]
ASP.global_asax..ctor() +0
</pre></code>
</td>
</tr>
</table>
<br>
<hr width=100% size=1 color=silver>
<b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.4214; ASP.NET Version:2.0.50727.4209
</font>
</body>
</html>
<!--
[SecurityException]: That assembly does not allow partially trusted callers.
at ASP.global_asax..ctor()
[TargetInvocationException]: Exception has been thrown by the target of an invocation.
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
[HttpException]: Exception has been thrown by the target of an invocation.
at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
-->
Source
Microsoft.UpdateServices.Administration
Stack Trace:
at Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)
at Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer()
at Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.GetUpdateServer()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.get_AdminApiTools()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.get_ServerState()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.SetNavigationItemEnabledStates()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.OOBEWizardInitialize()
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">7053</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:52:54.000Z" />
<EventRecordID>884368</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The WSUS administration console has encountered an unexpected error. This may be a transient error; try restarting the administration console. If this error persists,
Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC\.
System.InvalidOperationException -- Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
<html>
<head>
<title>Security Exception</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
</style>
</head>
<body bgcolor="white">
<span><H1>Server Error in '/ApiRemoting30' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>Security Exception</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission
please contact your system administrator or change the application's trust level in the configuration file.
<br><br>
<b> Exception Details: </b>System.Security.SecurityException: That assembly does not allow partially trusted callers.<br><br>
<b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
</td>
</tr>
</table>
<br>
<b>Stack Trace:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
[SecurityException: That assembly does not allow partially trusted callers.]
ASP.global_asax..ctor() +0
</pre></code>
</td>
</tr>
</table>
<br>
<hr width=100% size=1 color=silver>
<b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.4214; ASP.NET Version:2.0.50727.4209
</font>
</body>
</html>
<!--
[SecurityException]: That assembly does not allow partially trusted callers.
at ASP.global_asax..ctor()
[TargetInvocationException]: Exception has been thrown by the target of an invocation.
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
[HttpException]: Exception has been thrown by the target of an invocation.
at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
-->
Source
Microsoft.UpdateServices.Administration
Stack Trace:
at Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)
at Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer()
at Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.GetUpdateServer()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.get_AdminApiTools()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.get_ServerState()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.SetNavigationItemEnabledStates()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.OOBEWizardInitialize()</Data>
</EventData>
</Event>
============== MSG 2 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 13051
Task Category: 6
Level: Warning
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
No client computers have ever contacted the server.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">13051</EventID>
<Level>3</Level>
<Task>6</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884373</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>No client computers have ever contacted the server.</Data>
</EventData>
</Event>
============== MSG 3 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 12002
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The Reporting Web Service is not working.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">12002</EventID>
<Level>2</Level>
<Task>9</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884374</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The Reporting Web Service is not working.</Data>
</EventData>
</Event>
============== MSG 4 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 12012
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The API Remoting Web Service is not working.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">12012</EventID>
<Level>2</Level>
<Task>9</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884375</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The API Remoting Web Service is not working.</Data>
</EventData>
</Event>
============== MSG 5 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 12032
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The Server Synchronization Web Service is not working.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">12032</EventID>
<Level>2</Level>
<Task>9</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884376</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The Server Synchronization Web Service is not working.</Data>
</EventData>
</Event>
============== MSG 6 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 12022
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The Client Web Service is not working.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">12022</EventID>
<Level>2</Level>
<Task>9</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884377</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The Client Web Service is not working.</Data>
</EventData>
</Event>
============== MSG 7 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 12042
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The SimpleAuth Web Service is not working.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">12042</EventID>
<Level>2</Level>
<Task>9</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884378</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The SimpleAuth Web Service is not working.</Data>
</EventData>
</Event>
============== MSG 8 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 12052
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The DSS Authentication Web Service is not working.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">12052</EventID>
<Level>2</Level>
<Task>9</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884379</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOAMIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The DSS Authentication Web Service is not working.</Data>
</EventData>
</Event>
============== MSG 9 ==============
Log Name: Application
Source: ASP.NET 2.0.50727.0
Date: 9/21/2011 1:53:09 PM
Event ID: 1314
Task Category: Web Event
Level: Information
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
Event code: 4010
Event message: An unhandled security exception has occurred.
Event time: 9/21/2011 1:53:09 PM
Event time (UTC): 9/21/2011 10:53:09 AM
Event ID: 11b96ca285fa46d2a05d38e2e9b168af
Event sequence: 1
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/715372307/ROOT/ApiRemoting30-7-129610759889193820
Trust level: High
Application Virtual Path: /ApiRemoting30
Application Path: C:\Program Files\Update Services\WebServices\ApiRemoting30\
Machine name: APP-SVR
Process information:
Process ID: 8332
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Request information:
Request URL:
http://app-svr:8530/ApiRemoting30/WebService.asmx
Request path: /ApiRemoting30/WebService.asmx
User host address: 192.168.5.22
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Custom event details:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 2.0.50727.0" />
<EventID Qualifiers="16384">1314</EventID>
<Level>4</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:09.000Z" />
<EventRecordID>884380</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>4010</Data>
<Data>An unhandled security exception has occurred.</Data>
<Data>9/21/2011 1:53:09 PM</Data>
<Data>9/21/2011 10:53:09 AM</Data>
<Data>11b96ca285fa46d2a05d38e2e9b168af</Data>
<Data>1</Data>
<Data>1</Data>
<Data>0</Data>
<Data>/LM/W3SVC/715372307/ROOT/ApiRemoting30-7-129610759889193820</Data>
<Data>High</Data>
<Data>/ApiRemoting30</Data>
<Data>C:\Program Files\Update Services\WebServices\ApiRemoting30\</Data>
<Data>APP-SVR</Data>
<Data>
</Data>
<Data>8332</Data>
<Data>w3wp.exe</Data>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
<Data>http://app-svr:8530/ApiRemoting30/WebService.asmx</Data>
<Data>/ApiRemoting30/WebService.asmx</Data>
<Data>192.168.5.22</Data>
<Data>
</Data>
<Data>False</Data>
<Data>
</Data>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
</EventData>
</Event>
Saleh RamadanSo, in reality, this issue has nothing at all to do with "it was working; now it is not", because you've destroyed all of the evidence that would exist in a "was working; now is not" scenario. What we really have here is a NEW installation that has failed.
So, from the perspective of a NEW installation that is not working...
Are there any other roles, features, services, or applications installed on this server?
Did you install the Web Server Role exactly as described in the documentation?
Did you install the WSUS Role exactly as described in the documentation?
Were there any other roles, features, services, or applications installed onto this server
after your original (working) installation of WSUS?
Lawrence Garvin, M.S., MCITP:EA, MCDBA, MCSA
Principal/CTO, Onsite Technology Solutions, Houston, Texas
Microsoft MVP - Software Distribution (2005-2011)
My MVP Profile: http://mvp.support.microsoft.com/profile/Lawrence.Garvin
My Blog: http://onsitechsolutions.spaces.live.com
Oh, well, I have red and followed the documentation exactly step-by-step on the technet library, and I can guarantee you nothing went wrong because this is not my first installation for it
When I told you about the old damaged installation and the new installation which is also failed and showed me the same symptoms as the old one, I was sure that nothing wrong with the WSUS itself, but rather it is something wrong with the environment
Answering to your above questions, the answer for all is that: that server is only used for WSUS, nothing more
Anyway, I have managed to restore the service thanks to your previous reply where you point to the CONFIG folder inside the NET framework folder, I checked the files in there, some were changed to the date I think has stopped the service, so I repaired the
NET framework 2, and restarted
It is working fine now and syncing with the update server
Saleh Ramadan -
HI Experts,
I have created a FM for creation/updating of Business Partner. My FM is working fine and not giving error.
I published this FM as a Web Service, and it got generated successfully.
Now when i am running this web service, my FM is not working properly and start throwing errors.
do i need to follow some specific guidelines in coding?
any idea what could be the reason?
DaveHI Hemant,
Error which i am getting are related to ABAP code.
like i am updating BP's marketing attributes, Relationships Sales Area Data.
i have used Std. BAPI's for updating these.
in my FM these are working fine no error is given, but when i test my Web Service these BAPI start giving errors.
for example: Relation Ship is giving like invalid relation ship category
In-valid Sales Area
Any idea what could be the reason.
Dave
Maybe you are looking for
-
Dear all, I get the error below whenever i add an A/R Invoice copied from a Sales Order. [Microsoft][SQL Server Native Client 10.0][SQL Server]Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= o
-
Function Keys (fn+F2, fn+F3 and fn+F4) doesn't work
Hello. I have ProBook 4730s and today i cant use my hotkeys for brightness and for external monitor. I need help for this trouble. I already reinstal HP hotkey driver an even graphic control driver but this did not work. Any other solution? I use thi
-
I am about to go into my first year of college this July, and I've been looking for a laptop. I've used iMacs before a little bit, but I have a few questions about the Macbook Pro and Mac OS X 10.5. So if someone can help me that would be great. Firs
-
I can not perform the following command succesfully!!!
Hello, Can any one help me solve this problem? this also have my enterprise manager not available how did I get out of this? SQL> ALTER DATABASE OPEN; ALTER DATABASE OPEN ERROR at line 1: ORA-16038: log 3 sequence# 6 cannot be archived ORA-19502: wri
-
Re: skype to go number busy....
My wife is having the same problem . . . had her Skype to go number for a year. Problem started recently. Can't figure out what to do about it.