XML: WSDL anyType
Hi
My wsdl has 10 operations.
Response for each operation differ and depends on request, so schema for response does not exist.
I need to define schema for response type in WSDL.
My idea is to have request of different 10 types (1 schema for each operation) and response to be free-form XML. That is, any XML can be received.
How can I use xsd:anyType for this purpose? Any thoughts?
Thanks and Regards
Swapnil Kharwadkar
This is based off an answer I received when I asked a similar question about allowing any XML to be received by a web service. This sample shows how to use xsd:anyType to accomplish that.
<xsd:element name="executeProcess">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="in0" type="xsd:anyType" nillable="true" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
Similar Messages
-
SAP BC 4.8 How to transfer an IDOC to a WebService using a specific WSDL fi
Hi,
I'm not very familiar with the XML, WSDL stuff, but I need to implement a connection between the SAP System and an other software which offers a webservice.
I got the WSDL file and now I schould create the Business Connector setup. But I'm not able to get a flow running receiving the IDOC and sending it towards the other software.
I tried to use the transport XML service but it doesn't work and SAP told me the recieving part needs to have an other XML dialect which is not offered directly by the SAP BC. I need to use the WSDL file, but how ?
Could anybody give me some information, screenshots of how to setup such kind of connection ?
Thanks in advance
PatrickHi ,
Refer these links,
http://w3.miraclesoft.com/msws/msoft/products/oracle/pdf/SAP-IDOC_Article.pdf
http://www.sap.com/korea/partners/icc/scenarios/pdf/ICC_INTEGRATION_GUIDE_22.pdf
http://www.soberit.hut.fi/T-86/T-86.161/2004/Final%20report%20SAP_RN%20.pdf
regards,
Suryanarayana.M -
i have a wsdl file which when i try to convert to java using wsdl2java gives the following error:
Caused by: WSDLException: faultCode=PARSER_ERROR: Problem parsing
'file:/C:/Uses/binu/Desktop/axis2-1.4-bin/axis2-1.4/bin/wsdl1.xml'.: The prefix "wsdl"
for element "wsdl:definitions" is not bound.: org.xml.sax.SAXParseException:
The prefx "wsdl" for element "wsdl:definitions" is not bound.
This is a third party wsdl file and they say that the file is valid.
If i add the xmls:wsdl and all related in the defention tag it is giving another parser error.
We r using jdk1.4, axis2 and the version of the wsdl file is 2.0
But i cant generate wsdl with the command line axis2 bat file,eclipse plugin,idea plugin
Please help.
thanks,
Binu.
Below is the wsdl file
<wsdl:definitions targetNamespace="http://ws.centile.com">
<wsdl:documentation>Enterprise</wsdl:documentation>
<wsdl:types>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://bean.admin.api.ws.centile.com/xsd">
<xs:import namespace="http://bean.core.api.ws.centile.com/xsd"/>
<xs:complexType name="AdministrativeDomainBean">
<xs:complexContent>
<xs:extension base="ax24:AbstractBean">
<xs:sequence>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="parentAdmtiveDomain" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="type" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="AdministrativeDomains">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="elements" nillable="true" type="ax23:AdministrativeDomainBean"/>
<xs:element minOccurs="0" name="number" type="xs:int"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="AdministratorBean">
<xs:complexContent>
<xs:extension base="ax24:AbstractBean">
<xs:sequence>
<xs:element minOccurs="0" name="firstName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="lastName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="login" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="ownerAdmtiveDomain" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Administrators">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="elements" nillable="true" type="ax23:AdministratorBean"/>
<xs:element minOccurs="0" name="number" type="xs:int"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://ws.centile.com">
<xs:import namespace="http://error.core.api.ws.centile.com/xsd"/>
<xs:import namespace="http://bean.admin.api.ws.centile.com/xsd"/>
<xs:import namespace="http://bean.enterprise.api.ws.centile.com/xsd"/>
<xs:import namespace="http://bean.telephony.api.ws.centile.com/xsd"/>
<xs:element name="assignCallBarringToExtension">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="selectedName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="assignCallBarringToExtensionResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="Exception">
<xs:sequence>
<xs:element minOccurs="0" name="Exception" nillable="true" type="xs:anyType"/>
</xs:sequence>
</xs:complexType>
<xs:element name="ActionException">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="ActionException" nillable="true" type="ax22:ActionException"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteACDGroup">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteACDGroupResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteAdministrativeDomain">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteAdministrativeDomainResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteAdministrator">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="login" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteAdministratorResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteCallBarring">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteCallBarringResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteDepartment">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteDepartmentResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteDevice">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="selectedPhysicalID" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteDeviceResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteDialPrefix">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteDialPrefixResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteEnterprise">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteEnterpriseResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteExtensionGroup">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteExtensionGroupResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteForwarding">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="id" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteForwardingResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteGateway">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteGatewayResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteGatewayGroup">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteGatewayGroupResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteIVRService">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteIVRServiceResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteIpbx">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteIpbxResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteNetworkDomain">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteNetworkDomainResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deletePstnRange">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="rangeStart" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deletePstnRangeResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteService">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteServiceResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteSite">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteSiteResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteSpeedDial">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteSpeedDialResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteUser">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="login" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteUserResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteUserExtension">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="selectedNumber" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deleteUserExtensionResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="isConnectedResponse">
<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="login" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="password" 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" type="xs:boolean"/>
</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="setContext">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="admtiveDomainName" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setContextResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setExtensionsInACDGroup">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="selectedExtension" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="overflowGroup" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="extensions" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setExtensionsInACDGroupResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setExtensionsInExtensionGroup">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="selectedExtension" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="extensions" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setExtensionsInExtensionGroupResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setGatewaysInGatewayGroup">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="selectedGatewayGroup" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="gateways" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setGatewaysInGatewayGroupResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setOneExtensionInACDGroup">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="selectedExtension" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="overflowGroup" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="position" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setOneExtensionInACDGroupResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setOneExtensionInGroupAddress">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="selectedExtension" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="position" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setOneExtensionInGroupAddressResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setOneGatewayInGatewayGroup">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="selectedGatewayGroup" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="gateway" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="position" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="setOneGatewayInGatewayGroupResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="unassignAllCallBarringToExtension">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="selectedExtension" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="unassignAllCallBarringToExtensionResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="unassignCallBarringToExtension">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="selectedName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="unassignCallBarringToExtensionResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createAdministrativeDomain">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="type" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createAdministrativeDomainResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax23:AdministrativeDomainBean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="updateAdministrativeDomain">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="selectedName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="updateAdministrativeDomainResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax23:AdministrativeDomainBean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getAdministrativeDomain">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="offset" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="length" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="type" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="parentAdmtiveDomain" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getAdministrativeDomainResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax23:AdministrativeDomains"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createAdministrator">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="login" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="password" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="firstname" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="lastname" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createAdministratorResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax23:AdministratorBean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="updateAdministrator">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="selectedLogin" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="login" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="password" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="firstname" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="lastname" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="updateAdministratorResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax23:AdministratorBean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getAdministrator">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="offset" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="length" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="login" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="firstname" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="lastname" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="ownerAdmtiveDomain" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getAdministratorResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax23:Administrators"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createACDGroup">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="label" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="service" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="groupPassword" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="autoLogin" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="hidenDirectory" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="queueSize" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="syndicalPause" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createACDGroupResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax27:ACDGroupBean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="updateACDGroup">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="selectedExtension" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="label" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="service" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="groupPassword" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="autoLogin" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="hidenDirectory" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="queueSize" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="syndicalPause" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="updateACDGroupResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax27:ACDGroupBean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getACDGroup">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="offset" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="length" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="label" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="service" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="groupPassword" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="autoLogin" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="hidenDirectory" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="queueSize" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="syndicalPause" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getACDGroupResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax27:ACDGroups"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createCallBarring">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="type" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="description" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createCallBarringResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax27:CallBarringBean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="updateCallBarring">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="selectedName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="type" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="description" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="updateCallBarringResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax27:CallBarringBean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getCallBarring">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="offset" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="length" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="type" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="description" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getCallBarringResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax27:CallBarrings"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createDepartment">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createDepartmentResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax27:DepartmentBean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="updateDepartment">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="selectedName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="updateDepartmentResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax27:DepartmentBean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getDepartment">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="offset" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="length" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getDepartmentResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax27:Departments"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createDialPrefix">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="prefix" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="useEnum" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="gateway" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="trunkAddress" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="isDefaultDialPrefix" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="createDialPrefixResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax27:DialPrefixBean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="updateDialPrefix">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="selectedName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="prefix" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="useEnum" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="gateway" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="trunkAddress" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="isDefaultDialPrefix" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="updateDialPrefixResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax27:DialPrefixBean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getDialPrefix">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="offset" nillable="true"Have you generated the WSDL using AXIS2 itself.
I faced the problem of prasing wsdl as it was created using axis1.4.But used further by axis2.Axis is based on completely new framework of xsd and databinding.
So u need to used AXIS2 only to generate WSDL.(java2wsdl from axis2 bin) -
Not able to Create WebService Model
Hi All,
I am trying to create Model using below WSDL file. I am not able to create model even it's not giving any error also.Even model also not appearing in the model section.
How to check design time logs of the the NWDS studio.
<u><b>WSDL</b></u>
<wsdl:definitions xmlns:axis2="http://adcs.demo.com/traceanalysis/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns0="http://traceanalysis.dto.adcs.demo.com/xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns1="http://adcs.demo.com/traceanalysis/xsd/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://adcs.demo.com/traceanalysis/">
<wsdl:documentation>This service provides the logistics of a product's movement starting from shop floor, passing through various distributors till it most recent location. It retrieves this information based on grey market code of the product sorted by the scan date in descending order.</wsdl:documentation>
<wsdl:types>
<xs:schema xmlns:ax22="http://traceanalysis.dto.adcs.demo.com/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://traceanalysis.dto.adcs.demo.com/xsd">
<xs:element name="TraceResultCollection" type="ax22:TraceResultCollection" />
<xs:complexType name="TraceResultCollection">
<xs:sequence>
<xs:element name="logistics" nillable="true" type="ax22:Logistics" />
<xs:element name="production" nillable="true" type="ax22:Production" />
</xs:sequence>
</xs:complexType>
<xs:element name="Logistics" type="ax22:Logistics" />
<xs:complexType name="Logistics">
<xs:sequence>
<xs:element maxOccurs="unbounded" name="movement" nillable="true" type="ax22:Movement" />
</xs:sequence>
</xs:complexType>
<xs:element name="Movement" type="ax22:Movement" />
<xs:complexType name="Movement">
<xs:sequence>
<xs:element name="customerNo" nillable="true" type="xs:string" />
<xs:element name="greyMarketCode" nillable="true" type="xs:string" />
<xs:element name="locationId" type="xs:int" />
<xs:element name="scanDate" nillable="true" type="xs:string" />
<xs:element name="shipmentNo" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="Production" type="ax22:Production" />
<xs:complexType name="Production">
<xs:sequence>
<xs:element name="batchNo" nillable="true" type="xs:string" />
<xs:element name="gcasCode" nillable="true" type="xs:string" />
<xs:element name="greyMarketCode" nillable="true" type="xs:string" />
<xs:element name="locationId" type="xs:int" />
<xs:element name="palletCode" nillable="true" type="xs:string" />
<xs:element name="productionDate" nillable="true" type="xs:string" />
<xs:element name="shipperCode" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema xmlns:ns="http://adcs.demo.com/traceanalysis/xsd/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://adcs.demo.com/traceanalysis/xsd/">
<xs:element name="getTraceResultsFault">
<xs:complexType>
<xs:sequence>
<xs:element name="getTraceResultsFault" type="xs:anyType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getTraceResults">
<xs:complexType>
<xs:sequence>
<xs:element name="productGMC" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getTraceResultsResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="return" nillable="true" type="ns0:TraceResultCollection" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
<wsdl:message name="getTraceResultsMessage">
<wsdl:part name="part1" element="ns1:getTraceResults" />
</wsdl:message>
<wsdl:message name="getTraceResultsResponse">
<wsdl:part name="part1" element="ns1:getTraceResultsResponse" />
</wsdl:message>
<wsdl:message name="getTraceResultsFault">
<wsdl:part name="part1" element="ns1:getTraceResultsFault" />
</wsdl:message>
<wsdl:portType name="TraceAnalysisServicePortType">
<wsdl:operation name="getTraceResults">
<wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" message="axis2:getTraceResultsMessage" wsaw:Action="urn:getTraceResults" />
<wsdl:output message="axis2:getTraceResultsResponse" />
<wsdl:fault message="axis2:getTraceResultsFault" name="getTraceResultsFault" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="TraceAnalysisServiceSOAP11Binding" type="axis2:TraceAnalysisServicePortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<wsdl:operation name="getTraceResults">
<soap:operation soapAction="urn:getTraceResults" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="getTraceResultsFault">
<soap:body use="literal" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="TraceAnalysisServiceSOAP12Binding" type="axis2:TraceAnalysisServicePortType">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<wsdl:operation name="getTraceResults">
<soap12:operation soapAction="urn:getTraceResults" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
<wsdl:fault name="getTraceResultsFault">
<soap12:fault use="literal" name="getTraceResultsFault" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="TraceAnalysisServiceHttpBinding" type="axis2:TraceAnalysisServicePortType">
<http:binding verb="POST" />
<wsdl:operation name="getTraceResults">
<http:operation location="getTraceResults" />
<wsdl:input>
<mime:content type="text/xml" />
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="TraceAnalysisService">
<wsdl:port name="TraceAnalysisServiceSOAP11port_http" binding="axis2:TraceAnalysisServiceSOAP11Binding">
<soap:address location="http://localhost:8080/adcs/services/TraceAnalysisService" />
</wsdl:port>
<wsdl:port name="TraceAnalysisServiceSOAP12port_http" binding="axis2:TraceAnalysisServiceSOAP12Binding">
<soap12:address location="http://localhost:8080/adcs/services/TraceAnalysisService" />
</wsdl:port>
<wsdl:port name="TraceAnalysisServiceHttpport1" binding="axis2:TraceAnalysisServiceHttpBinding">
<http:address location="http://localhost:8080/adcs/rest/TraceAnalysisService" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Thanks in Adv
-AWCheck in WS Navigator to see if the service is working fine and post the error message.
Regards
Pranav -
Hi Guys,
I've got a third party WSDL which has references to Axis2 framework. I'm trying to create a model using this WSDL. But it doesn't do anything. The model is not getting created.
If I create a standalone Java Client using Axis jars, the standalone Java Client gets created successfully, and works fine.
Is it possible to force NWDS to use Axis jars to create the model? Or is there a workaround to this situation?
Thanking in anticipation.
Regards,
-Vaibhav.
The WSDL is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:axis2="http://test.sap.com/traceanalysis/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns0="http://traceanalysis.dto.test.sap.com/xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns1="http://test.sap.com/traceanalysis/xsd/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://test.sap.com/traceanalysis/">
<wsdl:documentation>Test service</wsdl:documentation>
<wsdl:types>
<xs:schema xmlns:ax22="http://traceanalysis.dto.test.sap.com/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://traceanalysis.dto.test.sap.com/xsd">
<xs:element name="TraceResultCollection" type="ax22:TraceResultCollection" />
<xs:complexType name="TraceResultCollection">
<xs:sequence>
<xs:element name="logistics" nillable="true" type="ax22:Logistics" />
<xs:element name="production" nillable="true" type="ax22:Production" />
</xs:sequence>
</xs:complexType>
<xs:element name="Logistics" type="ax22:Logistics" />
<xs:complexType name="Logistics">
<xs:sequence>
<xs:element maxOccurs="unbounded" name="movement" nillable="true" type="ax22:Movement" />
</xs:sequence>
</xs:complexType>
<xs:element name="Movement" type="ax22:Movement" />
<xs:complexType name="Movement">
<xs:sequence>
<xs:element name="customerNo" nillable="true" type="xs:string" />
<xs:element name="scanDate" nillable="true" type="xs:string" />
<xs:element name="shipmentNo" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="Production" type="ax22:Production" />
<xs:complexType name="Production">
<xs:sequence>
<xs:element name="batchNo" nillable="true" type="xs:string" />
<xs:element name="palletCode" nillable="true" type="xs:string" />
<xs:element name="productionDate" nillable="true" type="xs:string" />
<xs:element name="shipperCode" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema xmlns:ns="http://test.sap.com/traceanalysis/xsd/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://test.sap.com/traceanalysis/xsd/">
<xs:element name="getTraceResultsFault">
<xs:complexType>
<xs:sequence>
<xs:element name="getTraceResultsFault" type="xs:anyType" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getTraceResults">
<xs:complexType>
<xs:sequence>
<xs:element name="product" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getTraceResultsResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="return" nillable="true" type="ns0:TraceResultCollection" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
<wsdl:message name="getTraceResultsMessage">
<wsdl:part name="part1" element="ns1:getTraceResults" />
</wsdl:message>
<wsdl:message name="getTraceResultsResponse">
<wsdl:part name="part1" element="ns1:getTraceResultsResponse" />
</wsdl:message>
<wsdl:message name="getTraceResultsFault">
<wsdl:part name="part1" element="ns1:getTraceResultsFault" />
</wsdl:message>
<wsdl:portType name="TraceAnalysisServicePortType">
<wsdl:operation name="getTraceResults">
<wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" message="axis2:getTraceResultsMessage" wsaw:Action="urn:getTraceResults" />
<wsdl:output message="axis2:getTraceResultsResponse" />
<wsdl:fault message="axis2:getTraceResultsFault" name="getTraceResultsFault" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="TraceAnalysisServiceSOAP11Binding" type="axis2:TraceAnalysisServicePortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<wsdl:operation name="getTraceResults">
<soap:operation soapAction="urn:getTraceResults" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="getTraceResultsFault">
<soap:body use="literal" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="TraceAnalysisServiceSOAP12Binding" type="axis2:TraceAnalysisServicePortType">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<wsdl:operation name="getTraceResults">
<soap12:operation soapAction="urn:getTraceResults" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
<wsdl:fault name="getTraceResultsFault">
<soap12:fault use="literal" name="getTraceResultsFault" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="TraceAnalysisServiceHttpBinding" type="axis2:TraceAnalysisServicePortType">
<http:binding verb="POST" />
<wsdl:operation name="getTraceResults">
<http:operation location="getTraceResults" />
<wsdl:input>
<mime:content type="text/xml" />
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="TraceAnalysisService">
<wsdl:port name="TraceAnalysisServiceSOAP11port_http" binding="axis2:TraceAnalysisServiceSOAP11Binding">
<soap:address location="http://localhost:8080/proj1/services/TraceAnalysisService" />
</wsdl:port>
<wsdl:port name="TraceAnalysisServiceSOAP12port_http" binding="axis2:TraceAnalysisServiceSOAP12Binding">
<soap12:address location="http://localhost:8080/proj1/services/TraceAnalysisService" />
</wsdl:port>
<wsdl:port name="TraceAnalysisServiceHttpport1" binding="axis2:TraceAnalysisServiceHttpBinding">
<http:address location="http://localhost:8080/proj1/rest/TraceAnalysisService" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>Thanks for the reply guys.
Sumit, which file exactly you are referring to in the .metadata folder? I can't see any log file, I can see some backup, properties, etc. files.
Smruti, When I create a model, it simply doesn't do anything. I can't see a model created. However I can see some relevant files created, when I switch to Navigator view. In WebDynpro DC it is not possible to add the external jars in the build path. We create a external library DC and use that in WebDynpro DC. I've done that. But it doesn't work.
That's the reason, I've given the WSDL. So if someone is able to create a model or directly call the Web Service methods or create a deployable proxy, please let me know.
Regards,
-Vaibhav. -
Problem With httpd.conf and mod_rewrite rules Apache 2.2
I have some RewriteRules that are working on my Leopard Client Apache 2.2 machine - but when I try to implement them on Leopard Server Apache 2.2, they don't work. I don't get any errors, they just won't execute.
Could somebody with Leopard Server help me out using the below info?
Here are the rules I am trying to add: (below is the httpd.conf file)
======RULES========
RewriteEngine On
Options +FollowSymLinks
RewriteRule ^(.+)/$ http://%{HTTP_HOST}$1 [R=301, L]
# Remove ".php"
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.php(.*)\ HTTP
RewriteRule (.+)\.php(.*)$ $1$2 [R, L]
# Remove ".asp"
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.asp(.*)\ HTTP
RewriteRule (.+)\.asp(.*)$ $1$2 [R, L]
# Remove ".aspx"
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.aspx(.*)\ HTTP
RewriteRule (.+)\.aspx(.*)$ $1$2 [R, L]
# Remove ".htm" and ".html"
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.htm.(.)\ HTTP
RewriteRule (.+)\.htm.(.)$ $1$2 [R, L]
# Remove ".cfm"
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.cfm(.*)\ HTTP
RewriteRule (.+)\.cfm(.*)$ $1$2 [R, L]
# Remove ".bak"
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.bak(.*)\ HTTP
RewriteRule (.+)\.bak(.*)$ $1$2 [R, L]
# Remove ".inc"
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.inc(.*)\ HTTP
RewriteRule (.+)\.inc(.*)$ $1$2 [R, L]
# Remove ".*"
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\..(.)\ HTTP
RewriteRule (.+)\..(.)$ $1$2 [R, L]
=====RULES============
=========HTTPD.CONF=============
#### Default httpd.conf for Mac OS X Server, Apache 2.2
#### This httpd.conf differs from the httpd.conf distributed
#### with Apache and the httpd.conf present on Mac OS X.
#### Feel free to edit this; the Server Admin app also edits this file but will
#### respect your changes unless noted below. See also ReadMe.txt.
## ServerRoot: The top of the directory tree under which the server's
## configuration, error, and log files are kept.
## NOTE! If you intend to place this on an NFS (or otherwise network)
## mounted filesystem then please read the LockFile documentation
## (available at <URL:<a class="jive-link-external-small" href="http://">http://www.apache.org/docs/mod/core.html#lockfile>);
## you will save yourself a lot of trouble.
## Do NOT add a slash at the end of the directory path.
ServerRoot "/usr"
## PidFile: The file in which the server should record its process
## identification number when it starts.
PidFile /var/run/httpd.pid
## ScoreBoardFile: File used to store internal server process information.
## Not all architectures require this. But if yours does (you'll know because
## this file will be created when you run Apache) then you must ensure that
## no two invocations of Apache share the same scoreboard file.
#ScoreBoardFile "/var/run/apache2runtimestatus"
## Server-pool size regulation. Rather than making you guess how many
## server processes you need, Apache dynamically adapts to the load it
## sees --- that is, it tries to maintain enough server processes to
## handle the current load, plus a few spare servers to handle transient
## load spikes (e.g., multiple simultaneous requests from a single
## Netscape browser).
## It does this by periodically checking how many servers are waiting
## for a request. If there are fewer than MinSpareServers, it creates
## a new spare. If there are more than MaxSpareServers, some of the
## spares die off. The default values are probably OK for most sites.
MinSpareServers 1
MaxSpareServers 1
## Number of servers to start initially --- should be a reasonable ballpark
## figure.
StartServers 1
## MaxRequestsPerChild: the number of requests each child process is
## allowed to process before the child dies. The child will exit so
## as to avoid problems after prolonged use when Apache (and maybe the
## libraries it uses) leak memory or other resources. On most systems, this
## isn't really needed, but a few (such as Solaris) do have notable leaks
## in the libraries. For these platforms, set to something like 10000
## or so; a setting of 0 means unlimited.
## NOTE: This value does not include keepalive requests after the initial
## request per connection. For example, if a child process handles
## an initial request and 10 subsequent "keptalive" requests, it
## would only count as 1 request towards this limit.
MaxRequestsPerChild 100000
## Dynamic Shared Object (DSO) Support
## To be able to use the functionality of a module which was built as a DSO you
## have to place corresponding `LoadModule' lines at this location so the
## directives contained in it are actually available before they are used.
## Please read the file http://httpd.apache.org/docs/dso.html for more
## details about the DSO mechanism and run `httpd -l' for the list of already
## built-in (statically linked and thus always available) modules in your httpd
## binary.
## Note: The order in which modules are loaded is important. Don't change
## the order below without expert advice.
## Example:
## LoadModule foo_module libexec/mod_foo.so
#### For Mac OS X Server: Note that the Server Admin application
#### and the apxs utility enable and disable modules
#### by removing and adding a comment character.
LoadModule authnfilemodule libexec/apache2/modauthnfile.so
#LoadModule authndbmmodule libexec/apache2/modauthndbm.so
#LoadModule authnanonmodule libexec/apache2/modauthnanon.so
#LoadModule authndbdmodule libexec/apache2/modauthndbd.so
#LoadModule authndefaultmodule libexec/apache2/modauthndefault.so
LoadModule authzhostmodule libexec/apache2/modauthzhost.so
#LoadModule authzgroupfilemodule libexec/apache2/modauthzgroupfile.so
#LoadModule authzusermodule libexec/apache2/modauthzuser.so
#LoadModule authzdbmmodule libexec/apache2/modauthzdbm.so
#LoadModule authzownermodule libexec/apache2/modauthzowner.so
#LoadModule authzdefaultmodule libexec/apache2/modauthzdefault.so
#LoadModule authbasicmodule libexec/apache2/modauthbasic.so
#LoadModule authdigest_applemodule libexec/apache2/modauth_digestapple.so
LoadModule cache_module libexec/apache2/mod_cache.so
LoadModule memcachemodule libexec/apache2/modmemcache.so
LoadModule diskcachemodule libexec/apache2/moddiskcache.so
#LoadModule dbd_module libexec/apache2/mod_dbd.so
LoadModule dumpio_module libexec/apache2/mod_dumpio.so
LoadModule extfiltermodule libexec/apache2/modextfilter.so
LoadModule include_module libexec/apache2/mod_include.so
LoadModule filter_module libexec/apache2/mod_filter.so
LoadModule deflate_module libexec/apache2/mod_deflate.so
LoadModule logconfigmodule libexec/apache2/modlogconfig.so
LoadModule logio_module libexec/apache2/mod_logio.so
LoadModule env_module libexec/apache2/mod_env.so
LoadModule expires_module libexec/apache2/mod_expires.so
LoadModule headers_module libexec/apache2/mod_headers.so
LoadModule ident_module libexec/apache2/mod_ident.so
LoadModule setenvif_module libexec/apache2/mod_setenvif.so
LoadModule proxy_module libexec/apache2/mod_proxy.so
#LoadModule proxyconnectmodule libexec/apache2/modproxyconnect.so
#LoadModule proxyftpmodule libexec/apache2/modproxyftp.so
LoadModule proxyhttpmodule libexec/apache2/modproxyhttp.so
#LoadModule proxyajpmodule libexec/apache2/modproxyajp.so
LoadModule proxybalancermodule libexec/apache2/modproxybalancer.so
LoadModule ssl_module libexec/apache2/mod_ssl.so
LoadModule mime_module libexec/apache2/mod_mime.so
#LoadModule mimemagicmodule libexec/apache2/modmimemagic.so
#LoadModule dav_module libexec/apache2/mod_dav.so
LoadModule status_module libexec/apache2/mod_status.so
LoadModule autoindex_module libexec/apache2/mod_autoindex.so
LoadModule asis_module libexec/apache2/mod_asis.so
LoadModule info_module libexec/apache2/mod_info.so
LoadModule cgi_module libexec/apache2/mod_cgi.so
#LoadModule davfsmodule libexec/apache2/moddavfs.so
LoadModule vhostaliasmodule libexec/apache2/modvhostalias.so
LoadModule negotiation_module libexec/apache2/mod_negotiation.so
LoadModule dir_module libexec/apache2/mod_dir.so
LoadModule imagemap_module libexec/apache2/mod_imagemap.so
LoadModule actions_module libexec/apache2/mod_actions.so
LoadModule speling_module libexec/apache2/mod_speling.so
LoadModule userdir_module libexec/apache2/mod_userdir.so
LoadModule alias_module libexec/apache2/mod_alias.so
LoadModule rewrite_module libexec/apache2/mod_rewrite.so
#LoadModule php5_module libexec/apache2/libphp5.so
#LoadModule encoding_module libexec/apache2/mod_encoding.so
#LoadModule jk_module libexec/apache2/mod_jk.so
#LoadModule applespotlightmodule libexec/apache2/modspotlightapple.so
#LoadModule bonjour_module libexec/apache2/mod_bonjour.so
LoadModule appleauthmodule libexec/apache2/modauthapple.so
LoadModule spnegoauthmodule libexec/apache2/modspnegoapple.so
LoadModule appledigestmodule libexec/apache2/moddigestapple.so
LoadModule hfsapplemodule libexec/apache2/modhfsapple.so
#LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so
#LoadModule scgipubsubmodule libexec/apache2/modscgipubsub.so
#LoadModule davsvnmodule libexec/apache2/moddavsvn.so
#LoadModule authzsvnmodule libexec/apache2/modauthzsvn.so
## If you wish httpd to run as a different user or group, you must run
## httpd as root initially and it will switch.
## User/Group: The name (or #number) of the user/group to run httpd as.
## It is usually good practice to create a dedicated user and group for
## running httpd, as with most system services.
User www
Group www
## Each directory to which Apache has access, can be configured with respect
## to which services and features are allowed and/or disabled in that
## directory (and its subdirectories).
## First, we configure the "default" to be a very restrictive set of
## features.
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
## UserDir: The name of the directory which is appended onto a user's home
## directory if a ~user request is received.
#### For Mac OS X Server: Note that
#### personal websharing is not supported on Mac OS X Server.
<IfModule mod_userdir.c>
UserDir Sites
</IfModule>
## AccessFileName: The name of the file to look for in each directory
## for access control information.
AccessFileName .htaccess
## The following lines prevent .htaccess files from being viewed by
## Web clients.
#### For Mac OS X Server: Note the case-insensitive pattern, which protects
#### .htaccess fils on HFS volumes.
#### (Note: Denying .DS_S* may interfere with Finder WebDAV operation)
<Files ~ "^\.([Hh][Tt]|[Dd][Ss]_[Ss])">
Order allow,deny
Deny from all
Satisfy All
</Files>
#### Block attempts to circumvent access controls by requesting forks.
<Files "rsrc">
Order allow,deny
Deny from all
Satisfy All
</Files>
<DirectoryMatch ".*\.\.namedfork">
Order allow,deny
Deny from all
Satisfy All
</DirectoryMatch>
## DefaultType is the default MIME type the server will use for a document
## if it cannot otherwise determine one, such as from filename extensions.
## If your server contains mostly text or HTML documents, "text/plain" is
## a good value. If most of your content is binary, such as applications
## or images, you may want to use "application/octet-stream" instead to
## keep browsers from trying to display binary files as though they are
## text.
DefaultType text/plain
<IfModule mod_mime.c>
# TypesConfig points to the file containing the list of mappings from
# filename extension to MIME-type.
TypesConfig /dev/null
#AddType application/x-gzip .tgz
# AddEncoding allows you to have certain browsers uncompress
# information on the fly. Note: Not all browsers support this.
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
# Filters allow you to process content before it is sent to the client.
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#AddOutputFilter INCLUDES .shtml
## Although mod_mime may support several extensions following a single
## mime type (ex: "AddType video/quicktime qt mov"), the parser used
## by the Server Admin application expects only one extension per line.
AddHandler send-as-is asis
AddHandler cgi-script cgi
AddHandler fastcgi-script fcgi
AddHandler imap-file map
AddHandler server-parsed shtml
AddHandler type-map var
AddHandler spotlight-search spotlight
AddType application/andrew-inset ez
AddType application/atom+xml atom
AddType application/atomcat+xml atomcat
AddType application/atomsvc+xml atomsvc
AddType application/ccxml+xml ccxml
AddType application/davmount+xml davmount
AddType application/ecmascript ecma
AddType application/font-tdpfr pfr
AddType application/hyperstudio stk
AddType application/javascript js
AddType application/json json
AddType application/mac-binhex40 hqx
AddType application/mac-compactpro cpt
AddType application/marc mrc
AddType application/mathematica ma
AddType application/mathematica mb
AddType application/mathematica nb
AddType application/mathml+xml mathml
AddType application/mbox mbox
AddType application/mediaservercontrol+xml mscml
AddType application/mp4 mp4s
AddType application/msword doc
AddType application/msword dot
AddType application/mxf mxf
AddType application/octet-stream bin
AddType application/octet-stream bpk
AddType application/octet-stream class
AddType application/octet-stream dist
AddType application/octet-stream distz
AddType application/octet-stream dmg
AddType application/octet-stream dms
AddType application/octet-stream dump
AddType application/octet-stream elc
AddType application/octet-stream iso
AddType application/octet-stream lha
AddType application/octet-stream lzh
AddType application/octet-stream scpt
AddType application/octet-stream so
AddType application/oda oda
AddType application/ogg ogg
AddType application/pdf pdf
AddType application/pgp-encrypted pgp
AddType application/pgp-signature asc
AddType application/pgp-signature sig
AddType application/pics-rules prf
AddType application/pkcs10 p10
AddType application/pkcs7-mime p7c
AddType application/pkcs7-mime p7m
AddType application/pkcs7-signature p7s
AddType application/pkix-cert cer
AddType application/pkix-crl crl
AddType application/pkix-pkipath pkipath
AddType application/pkixcmp pki
AddType application/pls+xml pls
AddType application/postscript ai
AddType application/postscript eps
AddType application/postscript ps
AddType application/prs.cww cww
AddType application/rdf+xml rdf
AddType application/reginfo+xml rif
AddType application/relax-ng-compact-syntax rnc
AddType application/resource-lists+xml rl
AddType application/rls-services+xml rs
AddType application/rsd+xml rsd
AddType application/rss+xml rss
AddType application/rtf rtf
AddType application/sbml+xml sbml
AddType application/sdp sdp
AddType application/set-payment-initiation setpay
AddType application/set-registration-initiation setreg
AddType application/shf+xml shf
AddType application/smil+xml smi
AddType application/smil+xml smil
AddType application/srgs gram
AddType application/srgs+xml grxml
AddType application/ssml+xml ssml
AddType application/vnd.3gpp.pic-bw-large plb
AddType application/vnd.3gpp.pic-bw-small psb
AddType application/vnd.3gpp.pic-bw-var pvb
AddType application/vnd.3m.post-it-notes pwn
AddType application/vnd.accpac.simply.aso aso
AddType application/vnd.accpac.simply.imp imp
AddType application/vnd.acucobol acu
AddType application/vnd.acucorp acutc
AddType application/vnd.acucorp atc
AddType application/vnd.adobe.xdp+xml xdp
AddType application/vnd.adobe.xfdf xfdf
AddType application/vnd.amiga.ami ami
AddType application/vnd.anser-web-certificate-issue-initiation cii
AddType application/vnd.anser-web-funds-transfer-initiation fti
AddType application/vnd.antix.game-component atx
AddType application/vnd.apple.installer+xml mpkg
AddType application/vnd.apple.installer+xml pkg
AddType application/vnd.audiograph aep
AddType application/vnd.blueice.multipass mpm
AddType application/vnd.bmi bmi
AddType application/vnd.businessobjects rep
AddType application/vnd.chemdraw+xml cdxml
AddType application/vnd.chipnuts.karaoke-mmd mmd
AddType application/vnd.cinderella cdy
AddType application/vnd.claymore cla
AddType application/vnd.clonk.c4group c4d
AddType application/vnd.clonk.c4group c4f
AddType application/vnd.clonk.c4group c4g
AddType application/vnd.clonk.c4group c4p
AddType application/vnd.clonk.c4group c4u
AddType application/vnd.commonspace csp
AddType application/vnd.commonspace cst
AddType application/vnd.contact.cmsg cdbcmsg
AddType application/vnd.cosmocaller cmc
AddType application/vnd.crick.clicker clkx
AddType application/vnd.crick.clicker.keyboard clkk
AddType application/vnd.crick.clicker.palette clkp
AddType application/vnd.crick.clicker.template clkt
AddType application/vnd.crick.clicker.wordbank clkw
AddType application/vnd.criticaltools.wbs+xml wbs
AddType application/vnd.ctc-posml pml
AddType application/vnd.cups-ppd ppd
AddType application/vnd.curl curl
AddType application/vnd.data-vision.rdz rdz
AddType application/vnd.denovo.fcselayout-link fe_launch
AddType application/vnd.dna dna
AddType application/vnd.dolby.mlp mlp
AddType application/vnd.dpgraph dpg
AddType application/vnd.dreamfactory dfac
AddType application/vnd.ecowin.chart mag
AddType application/vnd.enliven nml
AddType application/vnd.epson.esf esf
AddType application/vnd.epson.msf msf
AddType application/vnd.epson.quickanime qam
AddType application/vnd.epson.salt slt
AddType application/vnd.epson.ssf ssf
AddType application/vnd.eszigno3+xml es3 et3
AddType application/vnd.ezpix-album ez2
AddType application/vnd.ezpix-package ez3
AddType application/vnd.fdf fdf
AddType application/vnd.flographit gph
AddType application/vnd.fluxtime.clip ftc
AddType application/vnd.framemaker fm
AddType application/vnd.framemaker frame
AddType application/vnd.framemaker maker
AddType application/vnd.frogans.fnc fnc
AddType application/vnd.frogans.ltf ltf
AddType application/vnd.fsc.weblaunch fsc
AddType application/vnd.fujitsu.oasys oas
AddType application/vnd.fujitsu.oasys2 oa2
AddType application/vnd.fujitsu.oasys3 oa3
AddType application/vnd.fujitsu.oasysgp fg5
AddType application/vnd.fujitsu.oasysprs bh2
AddType application/vnd.fujixerox.ddd ddd
AddType application/vnd.fujixerox.docuworks xdw
AddType application/vnd.fujixerox.docuworks.binder xbd
AddType application/vnd.fuzzysheet fzs
AddType application/vnd.genomatix.tuxedo txd
AddType application/vnd.google-earth.kml+xml kml
AddType application/vnd.google-earth.kmz kmz
AddType application/vnd.grafeq gqf
AddType application/vnd.grafeq gqs
AddType application/vnd.groove-account gac
AddType application/vnd.groove-help ghf
AddType application/vnd.groove-identity-message gim
AddType application/vnd.groove-injector grv
AddType application/vnd.groove-tool-message gtm
AddType application/vnd.groove-tool-template tpl
AddType application/vnd.groove-vcard vcg
AddType application/vnd.handheld-entertainment+xml zmm
AddType application/vnd.hbci hbci
AddType application/vnd.hhe.lesson-player les
AddType application/vnd.hp-hpgl hpgl
AddType application/vnd.hp-hpid hpid
AddType application/vnd.hp-hps hps
AddType application/vnd.hp-jlyt jlt
AddType application/vnd.hp-pcl pcl
AddType application/vnd.hp-pclxl pclxl
AddType application/vnd.hzn-3d-crossword x3d
AddType application/vnd.ibm.minipay mpy
AddType application/vnd.ibm.modcap afp
AddType application/vnd.ibm.modcap list3820
AddType application/vnd.ibm.modcap listafp
AddType application/vnd.ibm.rights-management irm
AddType application/vnd.ibm.secure-container sc
AddType application/vnd.igloader igl
AddType application/vnd.immervision-ivp ivp
AddType application/vnd.immervision-ivu ivu
AddType application/vnd.intercon.formnet xpw
AddType application/vnd.intercon.formnet xpx
AddType application/vnd.intu.qbo qbo
AddType application/vnd.intu.qfx qfx
AddType application/vnd.ipunplugged.rcprofile rcprofile
AddType application/vnd.irepository.package+xml irp
AddType application/vnd.is-xpr xpr
AddType application/vnd.jam jam
AddType application/vnd.jcp.javame.midlet-rms rms
AddType application/vnd.jisp jisp
AddType application/vnd.kahootz ktr
AddType application/vnd.kahootz ktz
AddType application/vnd.kde.karbon karbon
AddType application/vnd.kde.kchart chrt
AddType application/vnd.kde.kformula kfo
AddType application/vnd.kde.kivio flw
AddType application/vnd.kde.kontour kon
AddType application/vnd.kde.kpresenter kpr
AddType application/vnd.kde.kpresenter kpt
AddType application/vnd.kde.kspread ksp
AddType application/vnd.kde.kword kwd
AddType application/vnd.kde.kword kwt
AddType application/vnd.kenameaapp htke
AddType application/vnd.kidspiration kia
AddType application/vnd.kinar kne
AddType application/vnd.kinar knp
AddType application/vnd.koan skd
AddType application/vnd.koan skm
AddType application/vnd.koan skp
AddType application/vnd.koan skt
AddType application/vnd.llamagraphics.life-balance.desktop lbd
AddType application/vnd.llamagraphics.life-balance.exchange+xml lbe
AddType application/vnd.lotus-1-2-3 123
AddType application/vnd.lotus-approach apr
AddType application/vnd.lotus-freelance pre
AddType application/vnd.lotus-notes nsf
AddType application/vnd.lotus-organizer org
AddType application/vnd.lotus-screencam scm
AddType application/vnd.lotus-wordpro lwp
AddType application/vnd.macports.portpkg portpkg
AddType application/vnd.mcd mcd
AddType application/vnd.medcalcdata mc1
AddType application/vnd.mediastation.cdkey cdkey
AddType application/vnd.mfer mwf
AddType application/vnd.mfmp mfm
AddType application/vnd.micrografx.flo flo
AddType application/vnd.micrografx.igx igx
AddType application/vnd.mif mif
AddType application/vnd.mobius.daf daf
AddType application/vnd.mobius.dis dis
AddType application/vnd.mobius.mbk mbk
AddType application/vnd.mobius.mqy mqy
AddType application/vnd.mobius.msl msl
AddType application/vnd.mobius.plc plc
AddType application/vnd.mobius.txf txf
AddType application/vnd.mophun.application mpn
AddType application/vnd.mophun.certificate mpc
AddType application/vnd.mozilla.xul+xml xul
AddType application/vnd.ms-artgalry cil
AddType application/vnd.ms-asf asf
AddType application/vnd.ms-cab-compressed cab
AddType application/vnd.ms-excel xla
AddType application/vnd.ms-excel xlc
AddType application/vnd.ms-excel xlm
AddType application/vnd.ms-excel xls
AddType application/vnd.ms-excel xlt
AddType application/vnd.ms-excel xlw
AddType application/vnd.ms-fontobject eot
AddType application/vnd.ms-htmlhelp chm
AddType application/vnd.ms-ims ims
AddType application/vnd.ms-lrm lrm
AddType application/vnd.ms-powerpoint pot
AddType application/vnd.ms-powerpoint pps
AddType application/vnd.ms-powerpoint ppt
AddType application/vnd.ms-project mpp
AddType application/vnd.ms-project mpt
AddType application/vnd.ms-works wcm
AddType application/vnd.ms-works wdb
AddType application/vnd.ms-works wks
AddType application/vnd.ms-works wps
AddType application/vnd.ms-wpl wpl
AddType application/vnd.ms-xpsdocument xps
AddType application/vnd.mseq mseq
AddType application/vnd.musician mus
AddType application/vnd.neurolanguage.nlu nlu
AddType application/vnd.noblenet-directory nnd
AddType application/vnd.noblenet-sealer nns
AddType application/vnd.noblenet-web nnw
AddType application/vnd.nokia.n-gage.data ngdat
AddType application/vnd.nokia.n-gage.symbian.install n-gage
AddType application/vnd.nokia.radio-preset rpst
AddType application/vnd.nokia.radio-presets rpss
AddType application/vnd.novadigm.edm edm
AddType application/vnd.novadigm.edx edx
AddType application/vnd.novadigm.ext ext
AddType application/vnd.oasis.opendocument.chart odc
AddType application/vnd.oasis.opendocument.chart-template otc
AddType application/vnd.oasis.opendocument.formula odf
AddType application/vnd.oasis.opendocument.formula-template otf
AddType application/vnd.oasis.opendocument.graphics odg
AddType application/vnd.oasis.opendocument.graphics-template otg
AddType application/vnd.oasis.opendocument.image odi
AddType application/vnd.oasis.opendocument.image-template oti
AddType application/vnd.oasis.opendocument.presentation odp
AddType application/vnd.oasis.opendocument.presentation-template otp
AddType application/vnd.oasis.opendocument.spreadsheet ods
AddType application/vnd.oasis.opendocument.spreadsheet-template ots
AddType application/vnd.oasis.opendocument.text odt
AddType application/vnd.oasis.opendocument.text-master otm
AddType application/vnd.oasis.opendocument.text-template ott
AddType application/vnd.oasis.opendocument.text-web oth
AddType application/vnd.olpc-sugar xo
AddType application/vnd.oma.dd2+xml dd2
AddType application/vnd.openofficeorg.extension oxt
AddType application/vnd.osgi.dp dp
AddType application/vnd.palm oprc
AddType application/vnd.palm pdb
AddType application/vnd.palm pqa
AddType application/vnd.palm prc
AddType application/vnd.pg.format str
AddType application/vnd.pg.osasli ei6
AddType application/vnd.picsel efif
AddType application/vnd.pocketlearn plf
AddType application/vnd.powerbuilder6 pbd
AddType application/vnd.previewsystems.box box
AddType application/vnd.proteus.magazine mgz
AddType application/vnd.publishare-delta-tree qps
AddType application/vnd.pvi.ptid1 ptid
AddType application/vnd.quark.quarkxpress qwd
AddType application/vnd.quark.quarkxpress qwt
AddType application/vnd.quark.quarkxpress qxb
AddType application/vnd.quark.quarkxpress qxd
AddType application/vnd.quark.quarkxpress qxl
AddType application/vnd.quark.quarkxpress qxt
AddType application/vnd.recordare.musicxml mxl
# AddType application/vnd.rn-realmedia rm
AddType application/vnd.seemail see
AddType application/vnd.sema sema
AddType application/vnd.semd semd
AddType application/vnd.semf semf
AddType application/vnd.shana.informed.formdata ifm
AddType application/vnd.shana.informed.formtemplate itp
AddType application/vnd.shana.informed.interchange iif
AddType application/vnd.shana.informed.package ipk
AddType application/vnd.simtech-mindmapper twd
AddType application/vnd.simtech-mindmapper twds
AddType application/vnd.smaf mmf
AddType application/vnd.solent.sdkm+xml sdkd
AddType application/vnd.solent.sdkm+xml sdkm
AddType application/vnd.spotfire.dxp dxp
AddType application/vnd.spotfire.sfs sfs
AddType application/vnd.sus-calendar sus
AddType application/vnd.sus-calendar susp
AddType application/vnd.svd svd
AddType application/vnd.syncml+xml xsm
AddType application/vnd.syncml.dm+wbxml bdm
AddType application/vnd.syncml.dm+xml xdm
AddType application/vnd.tao.intent-module-archive tao
AddType application/vnd.tmobile-livetv tmo
AddType application/vnd.trid.tpt tpt
AddType application/vnd.triscape.mxs mxs
AddType application/vnd.trueapp tra
AddType application/vnd.ufdl ufd
AddType application/vnd.ufdl ufdl
AddType application/vnd.uiq.theme utz
AddType application/vnd.umajin umj
AddType application/vnd.unity unityweb
AddType application/vnd.uoml+xml uoml
AddType application/vnd.vcx vcx
AddType application/vnd.visio vsd
AddType application/vnd.visio vss
AddType application/vnd.visio vst
AddType application/vnd.visio vsw
AddType application/vnd.visionary vis
AddType application/vnd.vsf vsf
AddType application/vnd.wap.wbxml wbxml
AddType application/vnd.wap.wmlc wmlc
AddType application/vnd.wap.wmlscriptc wmlsc
AddType application/vnd.webturbo wtb
AddType application/vnd.wordperfect wpd
AddType application/vnd.wqd wqd
AddType application/vnd.wt.stf stf
AddType application/vnd.xara xar
AddType application/vnd.xfdl xfdl
AddType application/vnd.yamaha.hv-dic hvd
AddType application/vnd.yamaha.hv-script hvs
AddType application/vnd.yamaha.hv-voice hvp
AddType application/vnd.yamaha.smaf-audio saf
AddType application/vnd.yamaha.smaf-phrase spf
AddType application/vnd.yellowriver-custom-menu cmp
AddType application/vnd.zzazz.deck+xml zaz
AddType application/voicexml+xml vxml
AddType application/winhlp hlp
AddType application/wsdl+xml wsdl
AddType application/wspolicy+xml wspolicy
AddType application/x-ace-compressed ace
AddType application/x-bcpio bcpio
AddType application/x-bittorrent torrent
AddType application/x-bzip bz
AddType application/x-bzip2 boz
AddType application/x-bzip2 bz2
AddType application/x-cdlink vcd
AddType application/x-chat chat
AddType application/x-chess-pgn pgn
AddType application/x-cpio cpio
AddType application/x-csh csh
AddType application/x-director dcr
AddType application/x-director dir
AddType application/x-director dxr
AddType application/x-director fgd
AddType application/x-dvi dvi
AddType application/x-futuresplash spl
AddType application/x-gtar gtar
AddType application/x-hdf hdf
AddType application/x-httpd-php php
AddType application/x-httpd-php-source phps
AddType application/x-httpd-php3 php3
AddType application/x-java-jnlp-file jnlp
AddType application/x-latex latex
AddType application/x-ms-wmd wmd
AddType application/x-ms-wmz wmz
AddType application/x-msaccess mdb
AddType application/x-msbinder obd
AddType application/x-mscardfile crd
AddType application/x-msclip clp
AddType application/x-msdownload bat
AddType application/x-msdownload com
AddType application/x-msdownload dll
AddType application/x-msdownload exe
AddType application/x-msdownload msi
AddType application/x-msmediaview m13
AddType application/x-msmediaview m14
AddType application/x-msmediaview mvb
AddType application/x-msmetafile wmf
AddType application/x-msmoney mny
AddType application/x-mspublisher pub
AddType application/x-msschedule scd
AddType application/x-msterminal trm
AddType application/x-mswrite wri
AddType application/x-netcdf cdf
AddType application/x-netcdf nc
AddType application/x-pkcs12 p12
AddType application/x-pkcs12 pfx
AddType application/x-pkcs7-certificates p7b
AddType application/x-pkcs7-certificates spc
AddType application/x-pkcs7-certreqresp p7r
AddType application/x-quicktimeplayer qtl
AddType application/x-rar-compressed rar
AddType application/x-sh sh
AddType application/x-shar shar
AddType application/x-shockwave-flash swf
AddType application/x-stuffit sit
AddType application/x-stuffitx sitx
AddType application/x-sv4cpio sv4cpio
AddType application/x-sv4crc sv4crc
AddType application/x-tar tar
AddType application/x-tar tgz
AddType application/x-tcl tcl
AddType application/x-tex tex
AddType application/x-texinfo texi
AddType application/x-texinfo texinfo
AddType application/x-ustar ustar
AddType application/x-wais-source src
AddType application/x-x509-ca-cert crt
AddType application/x-x509-ca-cert der
AddType application/xenc+xml xenc
AddType application/xhtml+xml xht
AddType application/xhtml+xml xhtm
AddType application/xhtml+xml xhtml
AddType application/xml xml
AddType application/xml xsl
AddType application/xml-dtd dtd
AddType application/xop+xml xop
AddType application/xslt+xml xslt
AddType application/xspf+xml xspf
AddType application/xv+xml mxml
AddType application/xv+xml xhvml
AddType application/xv+xml xvm
AddType application/xv+xml xvml
AddType application/zip zip
AddType audio/basic au
AddType audio/basic snd
AddType audio/midi kar
AddType audio/midi mid
AddType audio/midi midi
AddType audio/midi rmi
AddType audio/mp4 mp4a
AddType audio/mp4a-latm m4a
AddType audio/mp4a-latm m4p
AddType audio/mpeg m2a
AddType audio/mpeg m3a
AddType audio/mpeg mp2
AddType audio/mpeg mp2a
AddType audio/mpeg mp3
AddType audio/mpeg mpga
AddType audio/vnd.digital-winds eol
AddType audio/vnd.lucent.voice lvp
AddType audio/vnd.nuera.ecelp4800 ecelp4800
AddType audio/vnd.nuera.ecelp7470 ecelp7470
AddType audio/vnd.nuera.ecelp9600 ecelp9600
AddType audio/wav wav
AddType audio/x-aiff aif
AddType audio/x-aiff aifc
AddType audio/x-aiff aiff
AddType audio/x-m4a m4a
AddType audio/x-mpegurl m3u
AddType audio/x-ms-wax wax
AddType audio/x-ms-wma wma
AddType audio/x-pn-realaudio ra
AddType audio/x-pn-realaudio ram
AddType audio/x-pn-realaudio rm
AddType audio/x-pn-realaudio-plugin rmp
AddType audio/x-scpls pls
AddType audio/x-wav wav
AddType chemical/x-cdx cdx
AddType chemical/x-cif cif
AddType chemical/x-cmdf cmdf
AddType chemical/x-cml cml
AddType chemical/x-csml csml
AddType chemical/x-pdb pdb
AddType chemical/x-xyz xyz
AddType image/bmp bmp
AddType image/cgm cgm
AddType image/g3fax g3
AddType image/gif gif
AddType image/ief ief
AddType image/jp2 jp2
AddType image/jpeg jpe
AddType image/jpeg jpeg
AddType image/jpeg jpg
AddType image/pict pct
AddType image/pict pic
AddType image/pict pict
AddType image/png png
AddType image/prs.btif btif
AddType image/svg+xml svg
AddType image/svg+xml svgz
AddType image/tiff tif
AddType image/tiff tiff
AddType image/vnd.adobe.photoshop psd
AddType image/vnd.djvu djv
AddType image/vnd.djvu djvu
AddType image/vnd.dwg dwg
AddType image/vnd.dxf dxf
AddType image/vnd.fastbidsheet fbs
AddType image/vnd.fpx fpx
AddType image/vnd.fst fst
AddType image/vnd.fujixerox.edmics-mmr mmr
AddType image/vnd.fujixerox.edmics-rlc rlc
AddType image/vnd.microsoft.icon ico
AddType image/vnd.ms-modi mdi
AddType image/vnd.net-fpx npx
AddType image/vnd.wap.wbmp wbmp
AddType image/vnd.xiff xif
AddType image/x-cmu-raster ras
AddType image/x-cmx cmx
AddType image/x-macpaint mac
AddType image/x-macpaint pnt
AddType image/x-macpaint pntg
AddType image/x-pcx pcx
AddType image/x-pict pct
AddType image/x-pict pic
AddType image/x-portable-anymap pnm
AddType image/x-portable-bitmap pbm
AddType image/x-portable-graymap pgm
AddType image/x-portable-pixmap ppm
AddType image/x-quicktime qti
AddType image/x-quicktime qtif
AddType image/x-rgb rgb
AddType image/x-xbitmap xbm
AddType image/x-xpixmap xpm
AddType image/x-xwindowdump xwd
AddType message/rfc822 eml
AddType message/rfc822 mime
AddType model/iges iges
AddType model/iges igs
AddType model/mesh mesh
AddType model/mesh msh
AddType model/mesh silo
AddType model/vnd.dwf dwf
AddType model/vnd.gdl gdl
AddType model/vnd.gtw gtw
AddType model/vnd.mts mts
AddType model/vnd.vtu vtu
AddType model/vrml vrml
AddType model/vrml wrl
AddType text/calendar ics
AddType text/calendar ifb
AddType text/css css
AddType text/csv csv
AddType text/html htm
AddType text/html html
AddType text/html shtml
AddType text/plain asc
AddType text/plain conf
AddType text/plain def
AddType text/plain in
AddType text/plain list
AddType text/plain log
AddType text/plain text
AddType text/plain txt
AddType text/prs.lines.tag dsc
AddType text/richtext rtx
AddType text/rtf rtf
AddType text/sgml sgm
AddType text/sgml sgml
AddType text/tab-separated-values tsv
AddType text/troff man
AddType text/troff me
AddType text/troff ms
AddType text/troff roff
AddType text/troff t
AddType text/troff tr
AddType text/uri-list uri
AddType text/uri-list uris
AddType text/uri-list urls
AddType text/vnd.fly fly
AddType text/vnd.fmi.flexstor flx
AddType text/vnd.in3d.3dml 3dml
AddType text/vnd.in3d.spot spot
AddType text/vnd.sun.j2me.app-descriptor jad
AddType text/vnd.wap.wml wml
AddType text/vnd.wap.wmlscript wmls
AddType text/x-asm s
AddType text/x-asm sm
AddType text/x-c c
AddType text/x-c cc
AddType text/x-c cpp
AddType text/x-c cxx
AddType text/x-c dic
AddType text/x-c h
AddType text/x-c hh
AddType text/x-fortran f
AddType text/x-fortran f77
AddType text/x-fortran f90
AddType text/x-fortran for
AddType text/x-java-source java
AddType text/x-pascal p
AddType text/x-pascal pas
AddType text/x-setext etx
AddType text/x-uuencode uu
AddType text/x-vcalendar vcs
AddType text/x-vcard vcf
AddType video/3gp2 3gp2
AddType video/3gpp 3gp
AddType video/3gpp 3gpp
AddType video/3gpp2 3g2
AddType video/h261 h261
AddType video/h263 h263
AddType video/h264 h264
AddType video/jpeg jpgv
AddType video/jpm jpgm
AddType video/jpm jpm
AddType video/mj2 mj2
AddType video/mj2 mjp2
AddType video/mp4 m4v
AddType video/mp4 mp4
AddType video/mp4 mp4v
AddType video/mp4 mpg4
AddType video/mpeg m1v
AddType video/mpeg m2v
AddType video/mpeg mpe
AddType video/mpeg mpeg
AddType video/mpeg mpg
AddType video/quicktime mov
AddType video/quicktime qt
AddType video/vnd.fvt fvt
AddType video/vnd.mpegurl m4u
AddType video/vnd.mpegurl mxu
AddType video/vnd.vivo viv
AddType video/x-dv dif
AddType video/x-dv dv
AddType video/x-fli fli
AddType video/x-ms-asf asf
AddType video/x-ms-asf asx
AddType video/x-ms-wm wm
AddType video/x-ms-wmv wmv
AddType video/x-ms-wmx wmx
AddType video/x-ms-wvx wvx
AddType video/x-msvideo avi
AddType video/x-sgi-movie movie
AddType x-conference/x-cooltalk ice
# Settings for hosting different languages.
# Required modules: mod_mime, mod_negotiation
# DefaultLanguage and AddLanguage allows you to specify the language of
# a document. You can then use content negotiation to give a browser a
# file in a language the user can understand.
# Specify a default language. This means that all data
# going out without a specific language tag (see below) will
# be marked with this one. You probably do NOT want to set
# this unless you are sure it is correct for all cases.
# * It is generally better to not mark a page as
# * being a certain language than marking it with the wrong
# * language!
# DefaultLanguage nl
# Note 1: The suffix does not have to be the same as the language
# keyword --- those with documents in Polish (whose net-standard
# language code is pl) may wish to use "AddLanguage pl .po" to
# avoid the ambiguity with the common suffix for perl scripts.
# Note 2: The example entries below illustrate that in some cases
# the two character 'Language' abbreviation is not identical to
# the two character 'Country' code for its country,
# E.g. 'Danmark/dk' versus 'Danish/da'.
# Note 3: In the case of 'ltz' we violate the RFC by using a three char
# specifier. There is 'work in progress' to fix this and get
# the reference data for rfc1766 cleaned up.
# Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl)
# English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de)
# Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja)
# Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn)
# Norwegian (no) - Polish (pl) - Portugese (pt)
# Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)
# Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW)
AddLanguage ca .ca
AddLanguage cs .cz .cs
AddLanguage da .dk
AddLanguage de .de
AddLanguage el .el
AddLanguage en .en
AddLanguage eo .eo
AddLanguage es .es
AddLanguage et .et
AddLanguage fr .fr
AddLanguage he .he
AddLanguage hr .hr
AddLanguage it .it
AddLanguage ja .ja
AddLanguage ko .ko
AddLanguage ltz .ltz
AddLanguage nl .nl
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pl .po
AddLanguage pt .pt
AddLanguage pt-BR .pt-br
AddLanguage ru .ru
AddLanguage sv .sv
AddLanguage zh-CN .zh-cn
AddLanguage zh-TW .zh-tw
# LanguagePriority allows you to give precedence to some languages
# in case of a tie during content negotiation.
# Just list the languages in decreasing order of preference. We have
# more or less alphabetized them here. You probably want to change this.
LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
# ForceLanguagePriority allows you to serve a result page rather than
# MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
# [in case no accepted languages matched the available variants]
ForceLanguagePriority Prefer Fallback
# Commonly used filename extensions to character sets. You probably
# want to avoid clashes with the language extensions, unless you
# are good at carefully testing your setup after each change.
# See http://www.iana.org/assignments/character-sets for the
# official list of charset names and their respective RFCs.
AddCharset us-ascii.ascii .us-ascii
AddCharset ISO-8859-1 .iso8859-1 .latin1
AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
AddCharset ISO-8859-3 .iso8859-3 .latin3
AddCharset ISO-8859-4 .iso8859-4 .latin4
AddCharset ISO-8859-5 .iso8859-5 .cyr .iso-ru
AddCharset ISO-8859-6 .iso8859-6 .arb .arabic
AddCharset ISO-8859-7 .iso8859-7 .grk .greek
AddCharset ISO-8859-8 .iso8859-8 .heb .hebrew
AddCharset ISO-8859-9 .iso8859-9 .latin5 .trk
AddCharset ISO-8859-10 .iso8859-10 .latin6
AddCharset ISO-8859-13 .iso8859-13
AddCharset ISO-8859-14 .iso8859-14 .latin8
AddCharset ISO-8859-15 .iso8859-15 .latin9
AddCharset ISO-8859-16 .iso8859-16 .latin10
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis
AddCharset Big5.Big5 .big5 .b5
AddCharset cn-Big5 .cn-big5
# For russian, more than one charset is used (depends on client, mostly):
AddCharset WINDOWS-1251 .cp-1251 .win-1251
AddCharset CP866 .cp866
AddCharset KOI8 .koi8
AddCharset KOI8-E .koi8-e
AddCharset KOI8-r .koi8-r .koi8-ru
AddCharset KOI8-U .koi8-u
AddCharset KOI8-ru .koi8-uk .ua
AddCharset ISO-10646-UCS-2 .ucs2
AddCharset ISO-10646-UCS-4 .ucs4
AddCharset UTF-7 .utf7
AddCharset UTF-8 .utf8
AddCharset UTF-16 .utf16
AddCharset UTF-16BE .utf16be
AddCharset UTF-16LE .utf16le
AddCharset UTF-32 .utf32
AddCharset UTF-32BE .utf32be
AddCharset UTF-32LE .utf32le
AddCharset euc-cn .euc-cn
AddCharset euc-gb .euc-gb
AddCharset euc-jp .euc-jp
AddCharset euc-kr .euc-kr
#Not sure how euc-tw got in - IANA doesn't list it???
AddCharset EUC-TW .euc-tw
AddCharset gb2312 .gb2312 .gb
AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2
AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4
AddCharset shift_jis .shift_jis .sjis
</IfModule>
## The modmimemagic module allows the server to use various hints from the
## contents of the file itself to determine its type. The MIMEMagicFile
## directive tells the module where the hint definitions are located.
<IfModule modmimemagic.c>
MIMEMagicFile /etc/apache2/magic
</IfModule>
## HostnameLookups: Log the names of clients or just their IP addresses
## e.g., www.apache.org (on) or 204.62.129.132 (off).
## The default is off because it'd be overall better for the net if people
## had to knowingly turn this feature on, since enabling it means that
## each client request will result in AT LEAST one lookup request to the
## nameserver.
HostnameLookups Off
## LogLevel: Control the number of messages logged to the error_log.
## Possible values include: debug, info, notice, warn, error, crit,
## alert, emerg.
LogLevel warn
<IfModule modlogconfig.c>
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
<IfModule mod_logio.c>
# You need to enable mod_logio.c to use %I and %O
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here. Contrariwise, if you do
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and not in this file.
#### For Mac OS X Server: Server Admin manages CustomLog directives
#### on a virtual host basis.
#CustomLog /var/log/apache2/access_log common
# If you prefer a logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#CustomLog /var/log/apache2/access_log combined
</IfModule>
## Optionally add a line containing the server version and virtual host
## name to server-generated pages (error documents, FTP directory listings,
## mod_status and mod_info output etc., but not CGI generated documents).
## Set to "EMail" to also include a mailto: link to the ServerAdmin.
## Set to one of: On | Off | EMail
ServerSignature On
UseCanonicalName Off
## Aliases: Add here as many aliases as you need (with no limit). The format is
## Alias fakename realname
<IfModule mod_alias.c>
# Redirect: Allows you to tell clients about documents that used to
# exist in your server's namespace, but do not anymore. The client
# will make a new request for the document at its new location.
# Example:
# Redirect permanent /foo http://www.example.com/bar
# Alias: Maps web paths into filesystem paths and is used to
# access content that does not live under the DocumentRoot.
# Example:
# Alias /webpath /full/filesystem/path
# If you include a trailing / on /webpath then the server will
# require it to be present in the URL. You will also likely
# need to provide a <Directory> section to allow access to
# the filesystem path.
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target directory are treated as applications and
# run by the server when requested rather than as documents sent to the
# client. The same rules about trailing "/" apply to ScriptAlias
# directives as to Alias.
ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"
#### For Mac OS X Server: Uncomment this line to enable web-based
#### configuration of mailman:
#Include /etc/apache2/httpd_mailman.conf
<IfModule mod_setenvif.c>
<IfModule mod_negotiation.c>
# Allow convenient access to Apache manual
AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "/Library/WebServer/share/httpd/manual$1"
<Directory "/Library/WebServer/share/httpd/manual">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
<Files *.html>
SetHandler type-map
</Files>
SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1
RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2
LanguagePriority en de es fr ja ko pt-br ru ForceLanguagePriority Prefer Fallback
</Directory>
</IfModule>
</IfModule>
</IfModule>
## Directives controlling the display of server-generated directory listings.
#### For Mac OS X Server: Note that indexing is further controlled
#### by the Server Admin application, which adds "Options +/-Indexes
#### in the virtual host scope.
<IfModule mod_autoindex.c>
## FancyIndexing is whether you want fancy directory indexing or standard
IndexOptions FancyIndexing
## AddIcon* directives tell the server which icon to show for different
## files or filename extensions. These are only displayed for
## FancyIndexed directories.
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*
AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core
AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^
## DefaultIcon is which icon to show for files which do not have an icon
## explicitly set.
DefaultIcon /icons/unknown.gif
## AddDescription allows you to place a short description after a file in
## server-generated indexes. These are only displayed for FancyIndexed
## directories.
## Format: AddDescription "description" filename
#AddDescription "GZIP compressed document" .gz
#AddDescription "tar archive" .tar
#AddDescription "GZIP compressed tar archive" .tgz
#AddDescription "Mac OS Disk Image file" .dmg
## ReadmeName is the name of the README file the server will look for by
## default, and append to directory listings.
## HeaderName is the name of a file which should be prepended to
## directory indexes.
## If MultiViews are amongst the Options in effect, the server will
## first look for name.html and include it if found. If name.html
## doesn't exist, the server will then look for name.txt and include
## it as plaintext if found.
ReadmeName README
HeaderName HEADER
## IndexIgnore is a set of filenames which directory indexing should ignore
## and not include in the listing. Shell-style wildcarding is permitted.
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
</IfModule>
## MetaDir: specifies the name of the directory in which Apache can find
## meta information files. These files contain additional HTTP headers
## to include when sending the document
#MetaDir .web
## MetaSuffix: specifies the file name suffix for the file containing the
## meta information.
#MetaSuffix .meta
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
# The configuration below implements multi-language error documents through
# content-negotiation, and via the default Alias for /error in the vhost config file.
<Directory "/usr/share/httpd/error">
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr
ForceLanguagePriority Prefer Fallback
</Directory>
ErrorDocument 400 /error/HTTPBADREQUEST.html.var
ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
ErrorDocument 404 /error/HTTPNOTFOUND.html.var
ErrorDocument 405 /error/HTTPMETHOD_NOTALLOWED.html.var
ErrorDocument 408 /error/HTTPREQUEST_TIMEOUT.html.var
ErrorDocument 410 /error/HTTP_GONE.html.var
ErrorDocument 411 /error/HTTPLENGTHREQUIRED.html.var
ErrorDocument 412 /error/HTTPPRECONDITIONFAILED.html.var
ErrorDocument 413 /error/HTTPREQUEST_ENTITY_TOOLARGE.html.var
ErrorDocument 414 /error/HTTPREQUEST_URI_TOOLARGE.html.var
ErrorDocument 415 /error/HTTPUNSUPPORTED_MEDIATYPE.html.var
ErrorDocument 500 /error/HTTPINTERNAL_SERVERERROR.html.var
ErrorDocument 501 /error/HTTPNOTIMPLEMENTED.html.var
ErrorDocument 502 /error/HTTPBADGATEWAY.html.var
ErrorDocument 503 /error/HTTPSERVICEUNAVAILABLE.html.var
ErrorDocument 506 /error/HTTPVARIANT_ALSOVARIES.html.var
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
<IfModule mod_status.c>
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
ExtendedStatus On
</IfModule>
# Allow remote server configuration reports, with the URL of
# http://servername/server-info (requires that mod_info.c be loaded).
#<IfModule mod_info.c>
# <Location /server-info>
# SetHandler server-info
# Order deny,allow
# Deny from all
# Allow from .your-domain.com
# </Location>
#</IfModule>
## Proxy Server directives.
<IfModule mod_proxy.c>
ProxyRequests Off
<IfModule moddiskcache.c>
CacheEnable disk /
CacheRoot "/var/run/proxy"
</IfModule>
</IfModule>
## SSL stuff
<IfModule mod_ssl.c>
SetEnvIf User-Agent ".MSIE." nokeepalive ssl-unclean-shutdown
SSLPassPhraseDialog exec:/etc/apache2/getsslpassphrase
SSLSessionCache shmcb:/var/run/ssl_scache(512000)
SSLSessionCacheTimeout 300
SSLMutex file:/var/log/apache2/ssl_mutex
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
AddType application/x-x509-ca-cert crt
AddType application/x-pkcs7-crl crl
</IfModule>
<IfModule mod_jk.c>
JkWorkersFile /etc/apache2/workers.properties
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevel error
JkMount /*.jsp JBoss1
JkMount /servlet/* JBoss1
JkMount /examples/* JBoss1
</IfModule>
## The default server is used for status on a special port
#ServerName www.example.com
Listen 127.0.0.1:9010
DocumentRoot "/var/empty"
ErrorLog "/var/log/apache2/error_log"
<Directory /var/empty>
Order Deny,Allow
Deny from All
</Directory>
<IfModule modspotlightapple2.c>
Spotlight On
</IfModule>
<IfModule modauth_digestapple.c>
BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
</IfModule>
<IfModule mod_headers.c>
Header add MS-Author-Via "DAV"
RequestHeader set XFORWARDEDPROTO 'https' env=https
</IfModule>
<IfModule mod_encoding.c>
EncodingEngine on
NormalizeUsername on
DefaultClientEncoding UTF-8
# Windows XP?
AddClientEncoding "Microsoft-WebDAV-MiniRedir/" MSUTF-8
# Windows 2K SP2 with .NET
AddClientEncoding "(Microsoft .* DAV\$)" MSUTF-8
# Windows 2K SP2/Windows XP
AddClientEncoding "(Microsoft .* DAV 1.1)" CP932
# Windows XP?
AddClientEncoding "Microsoft-WebDAV*" CP932
# RealPlayer
AddClientEncoding "RMA/*" CP932
# MacOS X webdavfs
AddClientEncoding "WebDAVFS" UTF-8
# cadaver
AddClientEncoding "cadaver/" EUC-JP
</IfModule>
RLimitNPROC max max
ExtendedStatus On
Timeout 300
KeepAlive On
MaxKeepAliveRequests 500
KeepAliveTimeout 15
# As of Mac OS X Server 10.5, the compiled-in server limit is 2048
ServerLimit 2048
# Server Admin manages ListenBackLog as a function of MaxClients: min(511, MaxClients/2)
MaxClients 1024
ListenBackLog 512
# Including WebObjects Configs
Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
#### The following Include directive is essential for the virtual hosts to be usable.
Include "/etc/apache2/sites/*.conf"
========HTTPD.CONF==========I am modifying the correct httpd.conf file on the server, it just doesn't seem to work. - If I put the rewrite rules in the <Directory /> the rewrite works but it adds /Library/WebServer/Documents to the URL.
I also tried putting the rewrite rules in <IfModule mod_rewrite.c> but that did not work either.
mod_rewrite is enabled and running on the server.
I will post the rewrite rules again in the code brackets. Sorry for the long post. - If some one can try them out on their Leopard Server to see if they can get them to work, it would be much appreciated. Again, these work on my Leopard Client but I can't get them to work on Server.
-- The httpd.conf file posted above is just the default conf file found in /private/etc/apache2/
<code>
RewriteEngine On
Options +FollowSymLinks
RewriteRule ^(.+)/$ http://%{HTTP_HOST}$1 [R=301, L]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.php(.*)\ HTTP
RewriteRule (.+)\.php(.*)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.asp(.*)\ HTTP
RewriteRule (.+)\.asp(.*)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.aspx(.*)\ HTTP
RewriteRule (.+)\.aspx(.*)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.htm.(.)\ HTTP
RewriteRule (.+)\.htm.(.)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.cfm(.*)\ HTTP
RewriteRule (.+)\.cfm(.*)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.bak(.*)\ HTTP
RewriteRule (.+)\.bak(.*)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.inc(.*)\ HTTP
RewriteRule (.+)\.inc(.*)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\..(.)\ HTTP
RewriteRule (.+)\..(.)$ $1$2 [R, L]]
<code> -
Hello everybody,
I've a problem to call a EJB form a PHP script.
There is a Apache with PHP 5.2.0 and a SAP NetWeaver Application Server 7.10 / AS Java 7.10 running on the system.
I wanted to use soap to call a method in an EJB. It's only a test EJB:
[code]
package beans;
import javax.ejb.Stateless;
import javax.jws.WebService;
import javax.jws.WebMethod;
@WebService(name="HelloWorldEARBean",serviceName="HelloWorldEARBeanService",targetNamespace="http://beans/",portName="HelloWorldEARBeanPort") @Stateless public class HelloWorldEARBean {
@WebMethod public String sayHello(String testStr){
return "Hello Mr. "+testStr;
@WebMethod public String getReturn(String inputStr){
return "the return value is"+inputStr;
[/code]
I tried it with the PEAR SOAP in the following script:
[code]
<?php
require_once 'SOAP/Client.php';
$wsdl_url = 'http://localhost:50000/HelloWorldEARBeanService/HelloWorldEARBean?wsdl';
$WSDL = new SOAP_WSDL($wsdl_url);
$client = $WSDL->getProxy();
$client->__trace(1);
$options=array('namespace' => 'http://beans/',
'style' => 'rpc',
'soapaction' => 'sayHello');
$NAME = "Bob";
$parameters=array(
'parameters', $NAME
$result = $client->getReturn($parameters);
echo "<pre>";
print_r($params);
echo "</pre>";
echo "<h2>return</h2>";
echo "<pre>";
print_r($result);
echo "</pre>";
echo '<h2>Request</h2>';
echo '<pre>' . htmlspecialchars($client->__getlastrequest(), ENT_QUOTES) . '</pre>';
echo '<h2>Response</h2>';
echo '<pre>' . htmlspecialchars($client->__getlastresponse(), ENT_QUOTES). '</pre>';
?>
[/code]
The AS distributes the following WSDL:
[code]
- <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://beans/" xmlns:tns="http://beans/">
- <wsdl:types>
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" targetNamespace="http://beans/">
<xs:element name="getReturn" type="tns:getReturn" />
<xs:element name="getReturnResponse" type="tns:getReturnResponse" />
<xs:element name="sayHello" type="tns:sayHello" />
<xs:element name="sayHelloResponse" type="tns:sayHelloResponse" />
- <xs:complexType name="sayHello">
- <xs:sequence>
<xs:element name="arg0" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
- <xs:complexType name="sayHelloResponse">
- <xs:sequence>
<xs:element name="return" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
- <xs:complexType name="getReturn">
- <xs:sequence>
<xs:element name="arg0" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
- <xs:complexType name="getReturnResponse">
- <xs:sequence>
<xs:element name="return" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:schema>
</wsdl:types>
- <wsdl:message name="sayHelloIn">
<wsdl:part name="parameters" element="tns:sayHello" />
</wsdl:message>
- <wsdl:message name="sayHelloOut">
<wsdl:part name="sayHelloResponse" element="tns:sayHelloResponse" />
</wsdl:message>
- <wsdl:message name="getReturnIn">
<wsdl:part name="parameters" element="tns:getReturn" />
</wsdl:message>
- <wsdl:message name="getReturnOut">
<wsdl:part name="getReturnResponse" element="tns:getReturnResponse" />
</wsdl:message>
- <wsdl:portType name="HelloWorldEARBean">
- <wsdl:operation name="sayHello" parameterOrder="parameters">
<wsdl:input message="tns:sayHelloIn" />
<wsdl:output message="tns:sayHelloOut" />
</wsdl:operation>
- <wsdl:operation name="getReturn" parameterOrder="parameters">
<wsdl:input message="tns:getReturnIn" />
<wsdl:output message="tns:getReturnOut" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="HelloWorldEARBeanBinding" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" type="tns:HelloWorldEARBean">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="sayHello">
<soap:operation soapAction="" />
- <wsdl:input>
<soap:body parts="parameters" use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="getReturn">
<soap:operation soapAction="" />
- <wsdl:input>
<soap:body parts="parameters" use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="HelloWorldEARBeanService">
- <wsdl:port name="HelloWorldEARBeanPort" binding="tns:HelloWorldEARBeanBinding">
<soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://localhost:50000/HelloWorldEARBeanService/HelloWorldEARBean" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
[/code]
By the following output it's obvious that the AS or the EJB (webservice) doesn't receive the parameter send by the PHP script. Look at the output:
return value:
the return value is null
[code]
Request:
POST /HelloWorldEARBeanService/HelloWorldEARBean HTTP/1.0
User-Agent: PEAR-SOAP 0.8.0RC4-devel
Host: localhost
Content-Type: text/xml; charset=UTF-8
Content-Length: 438
SOAPAction: ""
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
>
<SOAP-ENV:Body>
<getReturn xmlns="http://beans/">
<item>parameters</item>
<item>Bob</item></getReturn>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response:
HTTP/1.1 200 OK
server: SAP NetWeaver Application Server 7.10 / AS Java 7.10
content-type: text/xml; charset=utf-8
date: Wed, 14 Feb 2007 15:51:53 GMT
connection: close
<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsu:Created>2007-02-14T15:51:53Z</wsu:Created>
<wsu:Expires>2007-02-14T15:52:23Z</wsu:Expires></wsu:Timestamp></wsse:Security></SOAP-ENV:Header>
<SOAP-ENV:Body><ns2:getReturnResponse xmlns:ns2='http://beans/'>
<return>the return value is null</return></ns2:getReturnResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
[/code]
I used different soap interfaces for PHP like nusoap and the integrated soap interface of PHP 5.
Further I experimented with different parameters inside the function call
that results in small differencies at the xml-request.
Thanks.Hi
I've solved the problem now. I just have to add
@SOAPBinding(style=SOAPBinding.Style.RPC)
in the EJB, that's all.
Here is the complete code, ... maybe some other guys have this problem too, so I will post the working code:
At first the EJB:
package beans;
import javax.ejb.Stateless;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.jws.soap.SOAPBinding;
import beans.HelloWorldEARBean;
@WebService(name="HelloWorldEARBean",serviceName="HelloWorldEARBeanService",targetNamespace="http://beans/",portName="HelloWorldEARBeanPort")
@SOAPBinding(style=SOAPBinding.Style.RPC)
@Stateless public class HelloWorldEARBean {
@WebMethod public String sayHello(@WebParam(name="testStr") String testStr){
return "Hello Mr. "+testStr;
2. the local XML:
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://beans/" xmlns:tns="http://beans/">
<wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" targetNamespace="http://beans/">
<xs:element name="sayHello" type="tns:sayHello"/>
<xs:element name="sayHelloResponse" type="tns:sayHelloResponse"/>
<xs:complexType name="sayHello">
<xs:element name="testStr" type="xs:string" minOccurs="0"/>
</xs:complexType>
<xs:complexType name="sayHelloResponse">
<xs:element name="return" type="xs:string" minOccurs="0"/>
</xs:complexType>
</xs:schema>
</wsdl:types>
<wsdl:message name="sayHelloIn">
<wsdl:part name="parameters" element="tns:sayHello"/>
</wsdl:message>
<wsdl:message name="sayHelloOut">
<wsdl:part name="sayHelloResponse" element="tns:sayHelloResponse"/>
</wsdl:message>
<wsdl:portType name="HelloWorldEARBean">
<wsdl:operation name="sayHello" parameterOrder="parameters">
<wsdl:input message="tns:sayHelloIn"/>
<wsdl:output message="tns:sayHelloOut"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="HelloWorldEARBeanBinding" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" type="tns:HelloWorldEARBean">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="sayHello">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="HelloWorldEARBeanService">
<wsdl:port name="HelloWorldEARBeanPort" binding="tns:HelloWorldEARBeanBinding">
<soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://localhost:50000/HelloWorldEARBeanService/HelloWorldEARBean"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
3. the PHP script:
see next post
Thank you very much for your help. -
Hi ,
I am getting below error when I try to create a bpel project in oracle soa suite 12C, can any one help on this issue why it is happing, earlier am able to create bpel service.
java.lang.NumberFormatException: For input string: "63420;https=127.0.0.1"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at java.lang.Integer.parseInt(Integer.java:527)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:379)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:299)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:295)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:160)
at java.lang.ThreadLocal.get(ThreadLocal.java:150)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:309)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getExtensionRegistry(CachedWSDLReader.java:425)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLWithExtensionRegistry(CachedWSDLReader.java:468)
at oracle.tip.tools.ide.utils.xml.wsdl.WSDLUtil.parseWSDL(WSDLUtil.java:1398)
at oracle.tip.tools.ide.bpel.v2.datamodels.util.TemplateUtil.createProcessWSDL(TemplateUtil.java:1208)
at oracle.tip.tools.ide.bpel.v2.designer.builder.model.ProcessBuilderUtil.createWSDLFiles(ProcessBuilderUtil.java:198)
at oracle.tip.tools.ide.bpel.v2.designer.builder.model.ProcessBuilder.createIDEProject(ProcessBuilder.java:73)
at oracle.tip.tools.ide.bpel.v2.designer.builder.ui.CreationDialogPanel.doCreate(CreationDialogPanel.java:57)
at oracle.tip.tools.ide.bpel.shared.designer.processbuilder.ui.BPELCreationDialog.handleOK(BPELCreationDialog.java:199)
at oracle.tip.tools.ide.bpel.shared.designer.processbuilder.ui.BPELCreationDialog.actionPerformed(BPELCreationDialog.java:239)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6516)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
at java.awt.Component.processEvent(Component.java:6281)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4872)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
at java.awt.Dialog.show(Dialog.java:1082)
at java.awt.Component.show(Component.java:1655)
at java.awt.Component.setVisible(Component.java:1607)
at java.awt.Window.setVisible(Window.java:1014)
at java.awt.Dialog.setVisible(Dialog.java:1005)
at oracle.tip.tools.ide.bpel.shared.designer.processbuilder.ui.BPELCreationDialog.display(BPELCreationDialog.java:83)
at oracle.tip.tools.ide.bpel.shared.designer.manager.BPELDesignerManager.launchCreationDialog(BPELDesignerManager.java:53)
at oracle.tip.tools.ide.bpel.shared.designer.manager.BPELDesignerManager.launchCreationDialog(BPELDesignerManager.java:48)
at oracle.tip.tools.ide.bpel.shared.plugins.soa.sca.BPELComponent.createImplementation(BPELComponent.java:46)
at oracle.tip.tools.ide.fabric.gui.controller.ActionComponentEdit.add(ActionComponentEdit.java:118)
at oracle.tip.tools.ide.fabric.gui.controller.ActionComponentEdit.process(ActionComponentEdit.java:95)
at oracle.tip.tools.ide.fabric.gui.controller.DiagramController.processActionRequest(DiagramController.java:358)
at oracle.tip.tools.ide.fabric.gui.controls.DiagramSOAPopupHandler.actionPerformed(DiagramSOAPopupHandler.java:117)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.Component.processMouseEvent(Component.java:6516)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
at java.awt.Component.processEvent(Component.java:6281)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4872)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Thanks in advance.
Cheers,
balaPlease paste composite.xml and bpel source file here. Looks like one of the endpoints is getting goofed up.
-
Could not find binding output for operation getMessage
Hi,
I am getting a error while involking a service which is implemented using Axis2.
The error is "[email protected]1 : Could not find binding output for operation getMessage".
Please help me in solving the problem. The WSDL of the service looks like this...
<wsdl:definitions xmlns:axis2="http://ws.fs.com" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns0="http://ws.fs.com/xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://ws.fs.com">
<wsdl:documentation>GetMessageService</wsdl:documentation><wsdl:types><xs:schema xmlns:ns="http://ws.fs.com/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://ws.fs.com/xsd">
<xs:element name="getMessage">
<xs:complexType>
<xs:sequence>
<xs:element name="param0" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getMessageResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="return" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema></wsdl:types><wsdl:message name="getMessageMessage"><wsdl:part name="part1" element="ns0:getMessage" /></wsdl:message><wsdl:message name="getMessageResponse"><wsdl:part name="part1" element="ns0:getMessageResponse" /></wsdl:message><wsdl:portType name="GetMessageServicePortType"><wsdl:operation name="getMessage"><wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" message="axis2:getMessageMessage" wsaw:Action="urn:getMessage" /><wsdl:output message="axis2:getMessageResponse" /></wsdl:operation></wsdl:portType><wsdl:binding name="GetMessageServiceSOAP11Binding" type="axis2:GetMessageServicePortType"><soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /><wsdl:operation name="getMessage"><soap:operation soapAction="urn:getMessage" 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="GetMessageServiceSOAP12Binding" type="axis2:GetMessageServicePortType"><soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /><wsdl:operation name="getMessage"><soap12:operation soapAction="urn:getMessage" 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="GetMessageServiceHttpBinding" type="axis2:GetMessageServicePortType"><http:binding verb="POST" /><wsdl:operation name="getMessage"><http:operation location="getMessage" /><wsdl:input><mime:content type="text/xml" /></wsdl:input><wsdl:output><mime:content type="text/xml" /></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="GetMessageService"><wsdl:port name="GetMessageServiceSOAP11port_http" binding="axis2:GetMessageServiceSOAP11Binding"><soap:address location="http://192.168.74.248:8080/axis2/services/GetMessageService" /></wsdl:port><wsdl:port name="GetMessageServiceSOAP12port_http" binding="axis2:GetMessageServiceSOAP12Binding"><soap12:address location="http://192.168.74.248:8080/axis2/services/GetMessageService" /></wsdl:port><wsdl:port name="GetMessageServiceHttpport" binding="axis2:GetMessageServiceHttpBinding"><http:address location="http://192.168.74.248:8080/axis2/services/GetMessageService" /></wsdl:port></wsdl:service></wsdl:definitions>
Thanks in advance.
KiranIm having the exact same problem.
Has anyone found out how to fix this? Ive removed any extra soap bindings generated by axis2 and fixed a few problems with the wsdl but to no avail.
Any ideas?
Thanks in advance,
Ian Harrigan -
Could not find binding output for operation ...
Hi all !!!
I have a big problem:
[email protected]5 : Could not find binding output for operation getScore
I invoke a web service called IPODShopService from my process BPEL.
this is the WSDL:
wsdl:definitions targetNamespace="http://service.integration.ipodshop.it">
<wsdl:documentation>
Please Type your service description here
</wsdl:documentation>
−
<wsdl:types>
−
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://service.integration.ipodshop.it/xsd">
−
<xs:element name="getScore">
−
<xs:complexType>
−
<xs:sequence>
<xs:element name="nome" nillable="true" type="xs:string"/>
<xs:element name="cognome" nillable="true" type="xs:string"/>
<xs:element name="email" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
−
<xs:element name="getScoreResponse">
−
<xs:complexType>
−
<xs:sequence>
<xs:element name="return" nillable="true" type="xs:int"/>
</xs:sequence>
</xs:complexType>
</xs:element>
−
<xs:element name="CreateOrder">
−
<xs:complexType>
−
<xs:sequence>
<xs:element name="nome" nillable="true" type="xs:string"/>
<xs:element name="cognome" nillable="true" type="xs:string"/>
<xs:element name="email" nillable="true" type="xs:string"/>
<xs:element name="list" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
−
<xs:element name="CreateOrderResponse">
−
<xs:complexType>
−
<xs:sequence>
<xs:element name="return" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
−
<wsdl:message name="CreateOrderMessage">
<wsdl:part name="part1" element="ns0:CreateOrder"/>
</wsdl:message>
−
<wsdl:message name="CreateOrderResponse">
<wsdl:part name="part1" element="ns0:CreateOrderResponse"/>
</wsdl:message>
−
<wsdl:message name="getScoreMessage">
<wsdl:part name="part1" element="ns0:getScore"/>
</wsdl:message>
−
<wsdl:message name="getScoreResponse">
<wsdl:part name="part1" element="ns0:getScoreResponse"/>
</wsdl:message>
−
<wsdl:portType name="IPODShopServicePortType">
−
<wsdl:operation name="CreateOrder">
<wsdl:input message="axis2:CreateOrderMessage" wsaw:Action="urn:CreateOrder"/>
<wsdl:output message="axis2:CreateOrderResponse"/>
</wsdl:operation>
−
<wsdl:operation name="getScore">
<wsdl:input message="axis2:getScoreMessage" wsaw:Action="urn:getScore"/>
<wsdl:output message="axis2:getScoreResponse"/>
</wsdl:operation>
</wsdl:portType>
−
<wsdl:binding name="IPODShopServiceSOAP11Binding" type="axis2:IPODShopServicePortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
−
<wsdl:operation name="CreateOrder">
<soap:operation soapAction="urn:CreateOrder" style="document"/>
−
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
−
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
−
<wsdl:operation name="getScore">
<soap:operation soapAction="urn:getScore" 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="IPODShopServiceSOAP12Binding" type="axis2:IPODShopServicePortType">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
−
<wsdl:operation name="CreateOrder">
<soap12:operation soapAction="urn:CreateOrder" style="document"/>
−
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
−
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
−
<wsdl:operation name="getScore">
<soap12:operation soapAction="urn:getScore" 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="IPODShopServiceHttpBinding" type="axis2:IPODShopServicePortType">
<http:binding verb="POST"/>
−
<wsdl:operation name="CreateOrder">
<http:operation location="CreateOrder"/>
−
<wsdl:input>
<mime:content type="text/xml"/>
</wsdl:input>
−
<wsdl:output>
<mime:content type="text/xml"/>
</wsdl:output>
</wsdl:operation>
−
<wsdl:operation name="getScore">
<http:operation location="getScore"/>
−
<wsdl:input>
<mime:content type="text/xml"/>
</wsdl:input>
−
<wsdl:output>
<mime:content type="text/xml"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
−
<wsdl:service name="IPODShopService">
−
<wsdl:port name="IPODShopServiceSOAP11port_http" binding="axis2:IPODShopServiceSOAP11Binding">
<soap:address location="http://192.168.0.4:8083/IPODv7/services/IPODShopService"/>
</wsdl:port>
−
<wsdl:port name="IPODShopServiceSOAP12port_http" binding="axis2:IPODShopServiceSOAP12Binding">
<soap12:address location="http://192.168.0.4:8083/IPODv7/services/IPODShopService"/>
</wsdl:port>
−
<wsdl:port name="IPODShopServiceHttpport" binding="axis2:IPODShopServiceHttpBinding">
<http:address location="http://192.168.0.4:8083/IPODv7/services/IPODShopService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
and the bpel code:
<partnerLink name="ServiceIPOD_v6.1"
partnerRole="IPODShopServicePortType_Role"
partnerLinkType="ns31:IPODShopServicePortType_PL"/>
<invoke name="CustInfofromIPOD_v4" partnerLink="ServiceIPOD_v6.1"
portType="ns31:IPODShopServicePortType" operation="getScore"
inputVariable="CustInfofromIPOD_v1_getScore_InputVariable"
outputVariable="CustInfofromIPOD_v1_getScore_OutputVariable"/>
<definitions
targetNamespace="http://service.integration.ipodshop.it"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:axis2="http://service.integration.ipodshop.it"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
<import namespace="http://service.integration.ipodshop.it" location="http://localhost:8083/IPODv7/services/IPODShopService?wsdl"/>
<plnk:partnerLinkType name="IPODShopServicePortType_PL">
<plnk:role name="IPODShopServicePortType_Role">
<plnk:portType name="axis2:IPODShopServicePortType"/>
</plnk:role>
</plnk:partnerLinkType>
</definitions>
do have you any idea?
please, help me!
thanks
StefanoHi,
Just in case someone runs into the same problem, I live here my solution:
In may case the problem was the wsdl definition. I developed the web service in java and generated the wsdl with Maven. Automatically it generates the wsdl like this (I just copy the last section):
<wsdl:service name="tso-ws">
<wsdl:port name="tso-wsHttpSoap11Endpoint" binding="ns:tso-wsSoap11Binding">
<soap:address location="http://localhost:8080/axis2/services/tso-ws"/>
</wsdl:port>
<wsdl:port name="tso-wsHttpSoap12Endpoint" binding="ns:tso-wsSoap12Binding">
<soap12:address location="http://localhost:8080/axis2/services/tso-ws"/>
</wsdl:port>
<wsdl:port name="tso-wsHttpEndpoint" binding="ns:tso-wsHttpBinding">
<http:address location="http://localhost:8080/axis2/services/tso-ws"/>
</wsdl:port>
</wsdl:service>
The problem was the <wsdl:service name="tso-ws"> section. There were 3 port definitions with 3 different bindings but all of them have the same service location. So In the BPEL process I created the partner link using the service location.
I guess BPEL was using the http binding, so I deleted two of the por definitions and just left this in the <wsdl:service name="tso-ws"> section of the wsdl
<wsdl:service name="tso-ws">
<wsdl:port name="tso-wsHttpSoap12Endpoint" binding="ns:tso-wsSoap12Binding">
<soap12:address location="http://localhost:8080/axis2/services/tso-ws"/>
</wsdl:port>
By doing this, it works. I read in some forums that BPEL doesn't work with the http_post protocol so that's why I deleted that definition. And someone told me that it uses soap12 so that's why I deleted that definition also.
That's the way I solved it. Hope this helps.
Regards,
Zaloa -
DataBase Adapter Rollback option for Logical/Physical Delete in SOA 11g
Hi All,
We have a requirement where we need to rollback the logical delete performed by the DB Adapter (after polling a table) if there is any failure in the process down the line. We are trying to implement this using Mediator or OSB. For example if we are polling a table for changed records and performing logical delete, down the line if the business service (OSB) or the external reference (Mediator) are down/faulted, the records which were logically deleted are not getting rolled back in the table. Would any one please let me know if you have come across the same kind of scenario?
Is there any property we need to set while configuring the polling DB Adapter?
Thank You.Thank you very much for the reply Anuj,
I have created a db adapter which polls on a table with logicaldeletestrategy in JDeveloper 11g,
then I imported the XSD, mapping.xml, wsdl and JCA file into OSB using OSB consol. In the console
I generated proxy and wsdl for that proxy using JCA file. Then created one more db adapter in JDev
which inserts the records polled by the first db adapter into another table, followed the same
process of importing the above mentioned 4 files and generated a business service. In proxy service
route node I am using a transformation (which also I imported from Jdev) to route the data polled
by proxy service to the business service. Here I am using an XA datasource both the JCA's also
I made the 3 changes reccommended by Arun but still I am not getting the results.
I tried physical delete same issue with that too. When I am doing physical delete the proxy service
atleast picking up the records and deleting them. But when I tried logical delete the proxy is not even
picking up the records. Am I missing anything here?
Thank You,
Edited by: user12237005 on Apr 7, 2011 2:17 PM -
Hi,
We have created a JMS Queue in WLS 10.3.0 and OSB (10.3.1) process is using proxy service - JMS transport to dequeue messages.
WLS JMS Queue -->OSB Proxy --> Business Service (JCA Db adapter) to insert data into a table
IF error in db --> Invoke OSB error handler and write to a file
Case - Success
Messages are deleted from the queue
Case - Failure
Messages are not deleted from the queue. Error handler is invoked in OSB and messages are written to a file.
This is creating an issue since OSB retries and number of files are created. We have tried setting retry settings in OSB, but in vain.
Please provide inputs, this is a bit of emergency.
Regards,
AP
Edited by: ARPL on Oct 15, 2009 3:41 AMAm also dumb...
You need to create a new proxy service (and select the message type which suits your process, anysoap any xml, wsdl, etc), on the second tab you can select the transport.
In here select jms from the listbox and for the endpoint insert "jms://yourhost:yourpost/yourconnectionfactory/yourqueue"
thats all what is needed to let your proxy service pick up the messages from the queue.
eventually you want to route this message to something else, so for that you need to decide what sort of business service you use (webservice wsdl based, or just some other jms endpoint,or file...you name it)
@@JMS implementation in OSB
OSB concepts are really hard to digest if u r SOA developer from start. Proxy Service will act as a Inbound for JMS. It still shows the "Destination type" in JMS Transport Config tab
Really Confussing....
Sushil
Edited by: Sushil Deshpande on Jan 26, 2011 2:22 AM -
HttpPost and Key-Value-Pair encoding?
Hello,
I´m requesting a service via HttpPost sending XML, but no SOAP. The service does not understand the request I am sending, although the xml I create is such a
document, that the service expects to get.
I analysed the sended request with TCPMon and found that the content of the Post-message seems to be KVP-encoded. I cannot explain, why not only the plain xml I defined in the assign-activity is send.
I would like to send a request like this:
<GetFeature xmlns='http://www.opengis.net/wfs' xmlns:ogc='http://www.opengis.net/ogc' xmlns:gml='http://www.opengis.net/gml' service='WFS' version='1.0.0' outputFormat='GML2'>
<Query typeName='xy'>...
but it is send something like this:
Body=%3CGetFeature+xmlns%3D%22http%3A%2F%2Fwww.opengis.net%2Fwfs%22+version%3D%221.0.0%22+service%3D%22WFS%22+outputFormat%3D%22GML2%22%3E%3CQuery+typeName%3D%22xy%22
The leading element "Body" is the Part in the message-element in the WSDL-file of the requested service. If this sort of key-value encoding is send via Post, I think that would be the reason
why I get an exception from the service. How can I leave the 'Body' element out and send only the xml? I don´t know where to change settings for this?
Another question is why the special characters (/, <, >, etc) in the xml are url-encoded? That might also lead to problems. I looked at other services and none of them send the request encoded like this. It was always plain text.
I had a look at the HttpBindingSample, but I can´t derive any useful information from it. The invoke and assign activities in my Workflow-Service look very similar.
I´ve got no ideas anymore and would be very thankful for every hint.
regards,
KayThanks for your reply.
I looked at the WSDL of the sample but unfortunately that does not help me. I already checked it before posting here. The binding in the WSDL of the service looks like this:
<wsdl:message name="GetFeaturePOSTRequest">
<wsdl:part name="InBody" element="wfs:GetFeature"/>
</wsdl:message>
<wsdl:portType name="GetFeaturePOST">
<wsdl:operation name="GetFeaturePegelMessungPOST">
<wsdl:input message="tns:GetFeaturePOSTRequest"/>
<wsdl:output message="tns:GetFeatureResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="GetFeaturePOSTBinding" type="tns:GetFeaturePOST">
<http:binding verb="POST"/>
<wsdl:operation name="GetFeaturePegelMessungPOST">
<http:operation location="/DynWFS"/>
<wsdl:input>
<mime:content type="text/xml"/>
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
when I supstitute
<wsdl:input>
<mime:content type="text/xml"/>
</wsdl:input>
with
<wsdl:input>
<mime:mimeXml part="InBody"/>
</wsdl:input>
the execution of the process results in this binding fault:
[2005/07/12 12:11:17] "{http://schemas.oracle.com/bpel/extension}bindingFault" has been thrown. Less
<bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
<part name="summary">Argument 'InBody' is not compatible</part>
</bindingFault>
I tried this before and did not understand the fault. So I changed the binding from <mime:mimeXml part="InBody"/> back to <mime:content type="text/xml">. But that seems to be the reason for the corious encoding in the post message, that I try to avoid.
So I woult be pleased if anyone could tell me what that fault means? With what is the argument not compatible? Is it possible to get more details about this fault?
I checked the schema and the input, and I think the input I create is valid. I also searched the documentation and did not find any hints regarding this error message.
Any ideas of how to fix this?
regards,
Kay -
Web Service and Oracle HTTP Server
I have a web environment with Oracle Database 10.2.0.3 , oracle http server (using mod_plsql), Oracle pl/sql web toolkit. I need to create a web service that is accessed externally which will interact with the database (select, insert, delete). Is it possible to publish a web service to the Oracle Http Server or to implement web services with the environment above
Hello,
In RDBMS 10g you cannot directly expose WS from the DB you need to use the OracleAS Web Service Runtime to do it, following this documentation:
- Developing Web Services that Expose Database Resources
This is true if we are talking about "tooling/runtime/API" but after all Web Services are mainly XML (WSDL and SOAP) so it is still possible to create by hands (PL/SQL & static files) but it is probably a long work depending of the complexity of your services.
Also, in RDBMS 11, you can now directly expose WS from the DB using the embedded HTTP server, see this Oracle 11g New Features Document
Note that before taking one approach you must take time to write up your requirement regarding Web Services eg: do I need security, which time of encoding, interoperability, ..., ... For example WS-Security that is the standard to secure SOAP messages is not (yet) supported by the Oracle 11g RDBMS Native Web Services... where when you do use the WS-Runtime you can secure the Web Service..
Regards
Tugdual Grall -
What is better between ECC and PI, RFC adapter or SOAP adapter?
Hi experts,
I have a couple of RFCs in my ECC system, so I need to publish a web service from PI to many customers. I have two choices.
1. SOAP to RFC, synchronous scenario, working well but generates traffic in RFCD queues
2. SOAP to SOAP, synchronous scenario, publishing my RFC like web service in ECC.
Questions:
1. Which is better in performance?
2. SAP says something about that?
thank u for any response, regards.Hi Carlos,
Normally i follow the theory that the best things are normally all that you can implement after evaluate the situtation of your company... This situation contain factors or variables as:
1.- Technology: The kind of technology that your have in your hands (R3 or ECC, XI or PI 7.1 to up, etc...),
2.- Time: the time that you have, to implement the "best solution" for your case,
3.- Costs: maybe is not money directly when we implement internal projects or maybe yes, but this cost could represent the energies that you deliver with yourself with your "hard work", etc...
4.- Knowledge: maybe you have the technology, the time, the costs, the resources, etc... but if you know that you can learn how to do it, but the time is not going to let you learn, well, you will need to reevaluate "your best solution", because instead of help you the first best solution is going to complicate your project, the costs and time can increase, etc...
5.- Best practices: We have friends, manuals, forums, etc... where we can find best practices, as you are doing in this moment asking in this Community,
After those variables and reading your cuestion, i can share you may opinion, that i hope can help you:
1.- Measure it:
a) if you have the RFCs ready to be used it, and you dont have time, implement this solution and in the future migrate to better solutions, although you can sell this project requesting more time but with the condition to implement this new solution, so maybe you can change this variable and then implement web services and not rfcs,
b) if you have the RFCs, you have the knowledge to publish web services and you have time, implement this solution,
2.-Why?:
a) If we remember R3 helped us to implement interfaces with RFCs to PI,
b) The new version called ECC, supports now "ABAP Proxies", with the objective to implement a natural "SOA" with SAP PI as "standard",
c) So if you ask me, i prefer to implement a natural SOA considering web services, XML, WSDL, etc) than RFC, because here you are not using natural emisor to get a natural SOA and PI help us with their adapters to transform this RFC destination to one XML, etc...
3.- RECOMENDATION:
With the last subjective ideas, i recommend you follow the point 2, where is better use web services to implement a natural SOA (Service Oriented Architecture) than the RFC that is a technology that were used in the "R3" verions... Just evaluate the points that you need to be aware when you implement web services as timeouts, security, etc... just to solve it and then plan a "performance tunning", after this...
@note: read: "text", as one suggestion that i consider as subjective or that you can not agree with the idea and use other solution or proposal.
Best regards,
Azael Navarro Jiménez
Maybe you are looking for
-
Best way to create slide show with last photo having links
What are some of the best ways to create a slide show (more like a season greeting flash) with the last photo having links and buttons for the viewer to click? I already have the code for the slide show. What I need now is how do I reference or point
-
Windows 8.1 Metro Applications not functioning over VPN
Has anyone been able to resolve this in a corporate environment? We are not looking for loopback exemptions with fiddler, but rather a secure method to configure metro applications to use a proxy. If we manually set the proxy configuration, it work
-
Need help with fillable pdf to be made into e-book format
I have made a fillable pdf form using livecycle. I want this form to be used an an e-book. I have contacted kindle and they advised they can't a pdf file from me and it needs to be in html or microsoft word format. How can i convert my pdf form to a
-
Safari 4 & Private Browsing fails to work
Safari 4 & Private Browsing fails to work. I check Private Browsing, accept what it says, and when I quit I expect that it will clear all that I want it to. But it is still there 100%. Any one see this problem? -Apple //GS
-
Installing the 4.4.2 on my note 3. let see how it goes
downloading the 4.4.2 update to my note 3.