Adding <wsdlFile> entry to your service description in service-config.wsdd will make Axis to display your original WSDL
<service name="someService" provider="java:RPC"> <parameter name="allowedMethods" value="*" /> <parameter name="className" value="com.someclass " /> <wsdlFile>SomeService.wsdl</wsdlFile> </service> ________________________________ From: Gene Yan [mailto:[EMAIL PROTECTED] Sent: Friday, March 09, 2007 7:40 PM To: [email protected] Subject: [AXIS 1.4] WSDL Publish Problem Hi, group, I have used WSDL2Java to generate service side code. The WSDL has several import to external schema files. Now I have some questions with the generated code deployment. Question 1 : After I deploy my server code to TOMCAT5.5 it does not have any problem to access the service and display WSDL on browser through URL?wsdl. The question is the displayed WSDL is different from my original WSDL file used to generate the service especially the "import schema" part. Is there any way to let client to retrieve my original WSDL file through browser? Or is there any way to add "import" in published schema instead of publish schema within displayed WSDL file? Question 2: When I deployed same service code to OC4J 10.1.3 I can access the service through client but the WSDL is NOT completely browseable. The browser shows "Page Cannot Be Displayed (could be http 500)". How is the different for TOMCAT and OC4J platform related to WSDL publication? What is the potential problem? I did have some custom fault type thrown by service but could this be problem? Can anyone help with this? Thanks DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. -----------------------------------------------------------------------------------------------------------------------
