Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. Webservice in JSP web application

Webservice in JSP web application

Scheduled Pinned Locked Moved Web Development
helpjavaxmlquestioncsharp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vjvjvjvj
    wrote on last edited by
    #1

    I am a newbee in jsp development and I am using Netbeans IDE 6.9 for JSP web development. I am doing jsp development with Apache Tomcat server In one jsp page I want to use a web service on a web server. This web service was developed in asp.net. My general understanding is to reference a web service in the JSP application with netbeans is create a web service client. I follow the steps as 1. Right click on project and select new-> web service client 2. Give WSDL URL as http://imgsdev1/lpobjectscrm/captureservice.asmx?wsdl 3. Client style as JAX-WS style 4. Finish But I get the following error: Web Service Client can not be created by JAXWS:wsimport utility. Reason: undefined element declaration 's:scheme' There might be a problem during java artifacts creation: for example a name conflict in generated classes. To detect the problem see also the error messages in output window. You may be able to fix the problem in WSDL Customization dialog (Edit Web Service Attributes action) or by manual editing of the local wsdl or schema files, using the JAXB customization (local wsdl and schema files are located in xml resources directory(, After you fix the problem you need to refresh client from the web service reference node. In xml-resources-> web-service-refrences-captureservice-wsdl-imgsdev1-lpobjectscrm-captureservice.wsdl I found this block with the s:schema tag <s:sequence> <s:element ref="s:schema" /> <s:any /> </s:sequence> If i remove this block it doesnt like also. Please let me know what is wrong here. Also let me know if I am going the right way to reference the external web service.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups