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
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Problem in WSDL Webservice?????

Problem in WSDL Webservice?????

Scheduled Pinned Locked Moved .NET (Core and Framework)
wcfxmlhelpquestion
6 Posts 2 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.
  • N Offline
    N Offline
    Nithin Krishna
    wrote on last edited by
    #1

    Hello friends, while acessing a SOAP Web Service am getting a error "org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize." please tell me any solution for this... Rgds, Nithin

    J 1 Reply Last reply
    0
    • N Nithin Krishna

      Hello friends, while acessing a SOAP Web Service am getting a error "org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize." please tell me any solution for this... Rgds, Nithin

      J Offline
      J Offline
      Junaid Kazi
      wrote on last edited by
      #2

      Hii Seems like you are trying to pass or return data which cannot be serialized into XML . . Can you tell the signature of the Web Method which is giving you this error ??

      N 1 Reply Last reply
      0
      • J Junaid Kazi

        Hii Seems like you are trying to pass or return data which cannot be serialized into XML . . Can you tell the signature of the Web Method which is giving you this error ??

        N Offline
        N Offline
        Nithin Krishna
        wrote on last edited by
        #3

        Hi, Thanks 4 ur reply. Look Kazi, [System.Xml.Serialization.SoapTypeAttribute("AgentCode", "http://xml/schema/url")] public class AgentCode { } Above SoapTypeAttribute is one of the parameters of a webmethod in this wsdl. How can assign value to AgentCode Please tell me the solution

        J 1 Reply Last reply
        0
        • N Nithin Krishna

          Hi, Thanks 4 ur reply. Look Kazi, [System.Xml.Serialization.SoapTypeAttribute("AgentCode", "http://xml/schema/url")] public class AgentCode { } Above SoapTypeAttribute is one of the parameters of a webmethod in this wsdl. How can assign value to AgentCode Please tell me the solution

          J Offline
          J Offline
          Junaid Kazi
          wrote on last edited by
          #4

          Hi, Which client is using/calling this web service ? is it built in Java or .NET ??

          N 1 Reply Last reply
          0
          • J Junaid Kazi

            Hi, Which client is using/calling this web service ? is it built in Java or .NET ??

            N Offline
            N Offline
            Nithin Krishna
            wrote on last edited by
            #5

            Hi Kazi, This is developed in Java J2EE environment and The SOAP Services have been implemented using Apache Axis 1.1 and their interfaces are defined via WSDL. And me accesing this using .Net and c# Rgds Nithin

            J 1 Reply Last reply
            0
            • N Nithin Krishna

              Hi Kazi, This is developed in Java J2EE environment and The SOAP Services have been implemented using Apache Axis 1.1 and their interfaces are defined via WSDL. And me accesing this using .Net and c# Rgds Nithin

              J Offline
              J Offline
              Junaid Kazi
              wrote on last edited by
              #6

              Oh i thought it was c# and .NET !! This is the .NET forum , so . . anywaz i have a link which miaght help you . . http://www-128.ibm.com/developerworks/forums/dw\_thread.jsp?message=31741&cat=7&thread=9707&treeDisplayType=threadmode1&forum=163#31741 Best Of luck!!

              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