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. Web Development
  3. ASP.NET
  4. any idea why theses two beans behave differently

any idea why theses two beans behave differently

Scheduled Pinned Locked Moved ASP.NET
2 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.
  • P Offline
    P Offline
    prasadbuddhika
    wrote on last edited by
    #1

    i have a web service , in it there are two beans customer and order,wen my web app calls the web service i create a customer object and and use it , but when i try to create an object of order it doesn't show in the list , what might be the problem both classes are public. rservice is the refrence for the web service .

    rservice.Customerbean customer = new rservice.Customerbean();

    thhis works fine ,

    A 1 Reply Last reply
    0
    • P prasadbuddhika

      i have a web service , in it there are two beans customer and order,wen my web app calls the web service i create a customer object and and use it , but when i try to create an object of order it doesn't show in the list , what might be the problem both classes are public. rservice is the refrence for the web service .

      rservice.Customerbean customer = new rservice.Customerbean();

      thhis works fine ,

      A Offline
      A Offline
      anilpal
      wrote on last edited by
      #2

      Hi, Just try to access the Order class member without creating the object. bcz may it static class. If problem still persist then try with remove the ref and add again.

      Regards Anil Pal

      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