Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> WebServices working!
 

Pages: 1 2 3 4
LLBLGen Pro Runtime Framework
WebServices working!
Page:2/4 

  Print all messages in this thread  
Poster Message
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37313 posts
# Posted on: 05-Nov-2005 12:04:53.  
Answer wrote:
Hopefully monday. I created the templates to do it already and made my own task generator. Works great.. Regular Smiley

Looking forward! Regular Smiley. Thanks for putting the time into this. Regular Smiley
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Answer
User



Location:
Phoenix AZ USA
Joined on:
28-Jun-2004 21:13:21
Posted:
363 posts
# Posted on: 05-Nov-2005 19:05:56.  
Frans, are you planning on including these in your release or do you want to make this a 3rd party addon? I know you mention earlier you were going to include it once vs went RTM and then make the docs etc on how to do it. Just curious if thats the still the case?


Either way, i can email you what i have for my templates if you wish.





  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37313 posts
# Posted on: 05-Nov-2005 20:24:37.  
I've to check what's necessary to get it working. If it's a lot of hassle, I might decide to go for an add-on. If it's a thing which can be enabled easily, it's a no-brainer to add it to the main release. What I want to avoid at the moment is to change a lot in the released code, but what I tried out earlier using your info, it's a couple of templates and it works Regular Smiley
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Answer
User



Location:
Phoenix AZ USA
Joined on:
28-Jun-2004 21:13:21
Posted:
363 posts
# Posted on: 02-Dec-2005 06:51:17.  
Quote:
There's a problem.

Hierarchical entities returned from a webmethod, with polymorphism.

Say I have the webmethod:
[WebMethod()]
public CustomerEntity GetCustomer(string customerID)
{
...
}

now, what if I return a FemaleCustomerEntity (subtype of CustomerEntity) ? -> the client creates a CustomerEntity, because that's what the method's return type is, which means that there are just the customer fields, while the xml contains the FemaleCustomerEntity fields.

I don't have a clue how to solve this though, apparently, MS didn't think through this well enough, as is often the case when it comes to something related to Xml


I think i found a way to solve this. This is untested cuase my project doesnt use inheritance at the moment, but i believe this cna be solved by 2 methods.

Either include the
Code:
[XmlInclude(typeof(FemaleCustomerEntity))]
attribute above the webmethod OR above the base class Regular Smiley

This works on types that the XmlSerializer serializes, but i think it should work on IXmlSerializable as well.


  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37313 posts
# Posted on: 02-Dec-2005 10:09:34.  
Thanks for the update! Regular Smiley I'll check it out.
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
swallace
User



Location:
Oklahoma City, Oklahoma, USA
Joined on:
18-Aug-2003 15:34:29
Posted:
648 posts
# Posted on: 02-Dec-2005 15:41:21.  
I'm just starting a Webservice application now. Was this released as a feature, or available as a template? Is there a way someone can email me this if it's a template?

Thanks!


  Top
Answer
User



Location:
Phoenix AZ USA
Joined on:
28-Jun-2004 21:13:21
Posted:
363 posts
# Posted on: 05-Dec-2005 17:57:21.  
I can email you the templates i created and am using but i need your email Regular Smiley
  Top
swallace
User



Location:
Oklahoma City, Oklahoma, USA
Joined on:
18-Aug-2003 15:34:29
Posted:
648 posts
# Posted on: 05-Dec-2005 20:38:24.  
Answer wrote:
I can email you the templates i created and am using but i need your email Regular Smiley

It's sparky at developerfood dot com

Thanks!


  Top
Answer
User



Location:
Phoenix AZ USA
Joined on:
28-Jun-2004 21:13:21
Posted:
363 posts
# Posted on: 06-Dec-2005 16:30:51.  
Emailed!
  Top
swallace
User



Location:
Oklahoma City, Oklahoma, USA
Joined on:
18-Aug-2003 15:34:29
Posted:
648 posts
# Posted on: 06-Dec-2005 16:56:43.  
Answer wrote:
Emailed!

Got it, thanks! I appreciate your work.

Regular Smiley



  Top
davisg
User



Location:
Bradford, UK
Joined on:
27-Feb-2005 16:18:43
Posted:
113 posts
# Posted on: 07-Dec-2005 10:53:59.  
Answer wrote:
I can email you the templates i created and am using but i need your email Regular Smiley

Hi Answer, I would like to use your code too, can you email it to ezydev dash software at yahoo dot co dot uk

Many thanks and looking forward to seeing it.

Geoff.
Before software can be reusable it first has to be usable!  Top
sami
User



Location:
Hellsinki, Finland
Joined on:
28-Oct-2005 09:44:08
Posted:
93 posts
# Posted on: 07-Dec-2005 15:09:01.  
If you don't mind, send those to me too Laugh address: shavonen at hotmail dot com

http://www.visualcomponents.com
See for yourself!
 
Top
arschr
User



Location:
Atlanta, Georgia; USA
Joined on:
14-Dec-2003 16:57:29
Posted:
876 posts
# Posted on: 07-Dec-2005 17:29:58.  
Is this going to be incorporated into the standard package, if not could it be added to the 3rd party downloads?
- Al  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37313 posts
# Posted on: 07-Dec-2005 18:22:40.  
arschr wrote:
Is this going to be incorporated into the standard package, if not could it be added to the 3rd party downloads?

in v2.0 it's included. Till then it could be a 3rd party add on, but I don't have the archive yet.


Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
swallace
User



Location:
Oklahoma City, Oklahoma, USA
Joined on:
18-Aug-2003 15:34:29
Posted:
648 posts
# Posted on: 07-Dec-2005 19:36:10.  
Otis wrote:
arschr wrote:
Is this going to be incorporated into the standard package, if not could it be added to the 3rd party downloads?

in v2.0 it's included.

Sweeet!
  Top
Answer
User



Location:
Phoenix AZ USA
Joined on:
28-Jun-2004 21:13:21
Posted:
363 posts
# Posted on: 08-Dec-2005 03:37:53.  
I'll get them emailed you to you guys asap in the morning since there on my work computer...i would have added them to the 3rd party section earlier, however i didnt know where to email them and since no one needed them i didnt bother trying to find out Regular Smiley

I know where to send them now, so ill send them to you frans for addition to 3rd party...



  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37313 posts
# Posted on: 09-Dec-2005 08:57:00.  
I've received the archive. I'll see if I can put it up today! Regular Smiley
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
davisg
User



Location:
Bradford, UK
Joined on:
27-Feb-2005 16:18:43
Posted:
113 posts
# Posted on: 09-Dec-2005 16:52:27.  
Answer wrote:
I'll get them emailed you to you guys asap in the morning since there on my work computer...i would have added them to the 3rd party section earlier, however i didnt know where to email them and since no one needed them i didnt bother trying to find out Regular Smiley

I know where to send them now, so ill send them to you frans for addition to 3rd party...


Thanks, got them the other day so I will be checking them out this weekend. Appreciated.

Geoff.


Before software can be reusable it first has to be usable!  Top
sami
User



Location:
Hellsinki, Finland
Joined on:
28-Oct-2005 09:44:08
Posted:
93 posts
# Posted on: 10-Dec-2005 11:01:36.  
Answer wrote:
I'll get them emailed you to you guys asap in the morning since there on my work computer...i would have added them to the 3rd party section earlier, however i didnt know where to email them and since no one needed them i didnt bother trying to find out Regular Smiley

I know where to send them now, so ill send them to you frans for addition to 3rd party...




Great! Thanks mate!
http://www.visualcomponents.com
See for yourself!
 
Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37313 posts
# Posted on: 10-Dec-2005 13:37:44.  
They're online available now: in the customer area -> third party section. Regular Smiley

Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Indlex
User



Location:
Norway
Joined on:
11-Dec-2005 16:50:19
Posted:
4 posts
# Posted on: 11-Dec-2005 17:00:37.  
I have generated the BL successfully by using the Web Service generator. I am not quite sure how to use the wsdl.exe tool to generate the proxy. Can anyone please describe (or point me to some external resources) what I have to do next?

Thanks
  Top
Answer
User



Location:
Phoenix AZ USA
Joined on:
28-Jun-2004 21:13:21
Posted:
363 posts
# Posted on: 11-Dec-2005 22:21:56.  
first page of this thread, 6th post down. Laugh

  Top
dvdstelt
User



Location:
Ridderkerk
Joined on:
06-Dec-2005 15:24:54
Posted:
22 posts
# Posted on: 05-Jan-2006 10:35:40.  
How do I use these templates? I've searched through the manual, but cannot seem to find how I should run these from LLBLGen Pro.

Where do I copy them to?
How do I run them?
Can I integrate these with my regular DAL generation templates, supplied with LLBLGen?

I've just copied the files to the LLBLGen Pro root (including folders) but I immediatly get an xml error when opening the "Generate..." dialog.
Dennis van der Stelt
One Step Ahead : http://www.class-a.nl/
http://bloggingabout.net/blogs/dennis/
 
Top
dvdstelt
User



Location:
Ridderkerk
Joined on:
06-Dec-2005 15:24:54
Posted:
22 posts
# Posted on: 05-Jan-2006 14:07:39.  
dvdstelt wrote:
How do I use these templates? I've searched through the manual, but cannot seem to find how I should run these from LLBLGen Pro.


I've downloaded the Template Designer, and I probably should use it. Add the given templates into the normal template project or something.

Any suggestions here?


Dennis van der Stelt
One Step Ahead : http://www.class-a.nl/
http://bloggingabout.net/blogs/dennis/
 
Top
Answer
User



Location:
Phoenix AZ USA
Joined on:
28-Jun-2004 21:13:21
Posted:
363 posts
# Posted on: 06-Jan-2006 05:04:45.  
Extract zip file to your llblgen folder. You can then select the task performer from the generation menu...
  Top
Pages: 1 2 3 4  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.