mibuso.com

Microsoft Business Solutions online community
It is currently Fri May 24, 2013 10:16 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 41 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Dynamics NAV XMLport Generator v1.2
PostPosted: Fri Jul 15, 2011 10:51 am 
Offline

Joined: Tue Mar 08, 2011 12:22 pm
Posts: 13
Country: Denmark (dk)
Hey Carsten,

Thanks for the update, the generator works and creates the baddest XMLPORT I have ever seen for this OIOUBL XSD (v. 1.0) with 20+ mb. The similiar XSD for the OIOXML (v.0.7) was only 500kb.
I tried to see if there was duplicate fields, but it seems all are unique indeed. The XMLPORT is so far not working,but I am trying some things.

I will probably as suggested in thread try and create the XSD from some example files.
As I understand, if the example file does not cover all possible tags, I could get in trouble later.

Kind regards,
Povl


Top
 Profile E-mail  
 
 Post subject: Re: Dynamics NAV XMLport Generator v1.2
PostPosted: Wed Jan 25, 2012 11:08 am 
Offline

Joined: Mon May 18, 2009 10:36 am
Posts: 26
Country: Netherlands (nl)
Hi there,
I should have found the generator before!, it will save indeed time-consuming debugging.

Question : I did try it onto this webservice: http://www.florecom.nl/LinkClick.aspx?f ... uage=nl-NL or more specific the XSD : http://schemas.florecom.org/xml/data/dr ... es_0p5.xsd
The tool is able to read the xsd, and understand the definitions in it, but when I try to generate the “imagerequest” root element, it looks like the generator is still processing all the elements in the XSD (that looks like very huge), and it crashes.
I contacted Florecom and they suggested to “flatten” the WSDL with VS 2011 tools.
My idea would be : The generator should be able to isolate the requested root element? No need to do it by hand?
Any sugestions?

Benno


Top
 Profile E-mail  
 
 Post subject: Dynamics NAV XMLport Generator v1.3
PostPosted: Fri Jan 27, 2012 9:37 am 
Offline
Site Admin

Joined: Sun Nov 07, 1999 8:01 am
Posts: 1901
Location: Wilrijk, Belgium
Country: Belgium (be)
Dynamics NAV XMLport Generator v1.3
Automatically create a XMLport from a XML schema.

Simply load the schema, give an object number, select the root node, and click "Generate". Finished! The rest is small business.

Features:
- Automatic object generation
- Works with complex schemas
- Load included schemas
- Root node selection

V1.3.0.2:
- Fixed a crash with long node names
- Fixed an exception in the schema parser
- Fixed "Unable to cast object" error

http://www.mibuso.com/dlinfo.asp?FileID=910

Discuss this download here.


Top
 Profile  
 
 Post subject: Re: Dynamics NAV XMLport Generator v1.3
PostPosted: Fri Jan 27, 2012 9:41 am 
Offline

Joined: Sun Sep 17, 2006 4:34 pm
Posts: 27
Location: Munich
Country: Germany (de)
Hi Benno,

I have successfully tested with the new version. Please give it a try.

Cheers
Carsten


Top
 Profile  
 
 Post subject: Re: Dynamics NAV XMLport Generator v1.3
PostPosted: Fri Jan 27, 2012 6:35 pm 
Offline
MVP Microsoft Dynamics NAV

Joined: Tue Aug 14, 2001 7:01 am
Posts: 5315
Location: Prague
Country: Czech Republic (cz)
Great tool, it sames a ton of work.

I also had some issues with complex Schemas in the earlier version, where it missed some elements. Its great to see you updating this.

:thumbsup:

_________________
David Singleton
Dynamics NAV Freelancer
Dynamics Book
Go-Live International


Top
 Profile E-mail WWW  
 
 Post subject: Re: Dynamics NAV XMLport Generator v1.3
PostPosted: Thu Feb 02, 2012 4:44 pm 
Offline

Joined: Mon May 18, 2009 10:36 am
Posts: 26
Country: Netherlands (nl)
Hi Carsten,
Good job on version 1.3. I had some problems with recursive definitions in a provider xsd, but with the new version they are solved :D .
Thanks
Benno


Top
 Profile E-mail  
 
 Post subject: Re: Dynamics NAV XMLport Generator v1.3
PostPosted: Thu Feb 02, 2012 4:50 pm 
Offline

Joined: Sun Sep 17, 2006 4:34 pm
Posts: 27
Location: Munich
Country: Germany (de)
Thx. Good to hear that your problems are gone (for now) :) Please let me know if you find any other issues.

Cheers
Carsten


Top
 Profile  
 
 Post subject: Re: Dynamics NAV XMLport Generator v1.3
PostPosted: Thu Feb 02, 2012 4:52 pm 
Offline
MVP Microsoft Dynamics NAV

Joined: Tue Aug 14, 2001 7:01 am
Posts: 5315
Location: Prague
Country: Czech Republic (cz)
Benno67 wrote:
Hi Carsten,
Good job on version 1.3. I had some problems with recursive definitions in a provider xsd, but with the new version they are solved :D .
Thanks
Benno



I think this was the same problem I had. I ended out just manually fixing those elements. But great to know for next time that it can handle this.

Great work.

_________________
David Singleton
Dynamics NAV Freelancer
Dynamics Book
Go-Live International


Top
 Profile E-mail WWW  
 
 Post subject: Re: Dynamics NAV XMLport Generator v1.3
PostPosted: Wed May 16, 2012 7:38 pm 
Offline
MVP Microsoft Dynamics NAV

Joined: Fri Jun 11, 2004 9:05 pm
Posts: 4858
Location: Los Angeles, CA
Country: United States (us)
When I select the Schema, the Root Element does not come up with anything?

When I click Generate, it give me the error:

Code: Select all
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at NavXmlPortGen.MainForm.generateBt_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
NavXmlPortGen
    Assembly Version: 1.3.0.2
    Win32 Version: 1.3.0.2
    CodeBase: file:///C:/temp/XMLportgenerator/NavXmlPortGen.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5458 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------

_________________
Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work


Top
 Profile E-mail WWW  
 
 Post subject: Re: Dynamics NAV XMLport Generator v1.3
PostPosted: Wed May 16, 2012 9:39 pm 
Offline

Joined: Sun Sep 17, 2006 4:34 pm
Posts: 27
Location: Munich
Country: Germany (de)
Alex,

Please send the Schema by email for Review (about Box).

Cheers
Carsten


Top
 Profile  
 
 Post subject: Re: Dynamics NAV XMLport Generator v1.3
PostPosted: Wed May 16, 2012 11:03 pm 
Offline
MVP Microsoft Dynamics NAV

Joined: Fri Jun 11, 2004 9:05 pm
Posts: 4858
Location: Los Angeles, CA
Country: United States (us)
SilverX wrote:
Alex,

Please send the Schema by email for Review (about Box).

Cheers
Carsten



Sent! Thanks for looking into this.

_________________
Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work


Top
 Profile E-mail WWW  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 41 posts ]  Go to page Previous  1, 2, 3

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: