Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

question on form submission

4 posts in General Discussion Last posting was on 2006-05-12 01:04:24.0Z
VS Posted on 2006-05-05 18:26:12.0Z
Sender: 404.4457e021.1804289383@sybase.com
From: VS
Newsgroups: ianywhere.public.mbusinessanywhere.general
Subject: question on form submission
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <445b98cc.3116.1681692777@sybase.com>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 5 May 2006 11:26:20 -0700, 10.22.241.42
Lines: 14
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 5 May 2006 11:26:21 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 5 May 2006 11:26:12 -0700
X-Trace: forums-1-dub 1146853572 10.22.108.75 (5 May 2006 11:26:12 -0700)
X-Original-Trace: 5 May 2006 11:26:12 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:810
Article PK: 9086

We are using the submission manager to submit forms to the
sync server. I am trying to make the sync process more
robust for our application.

I have a question on the form submission process. I am
wondering if the sync server will start sending Forms to the
app server as it is receiving each Form from the client.

Does the Sync Server wait for acknowledgement from the
client that it has FINISHED submitting all pending forms and
only then the Sync Server STARTS submitting the forms to our
Application server?

Thank you! - VS


Greg Fenton Posted on 2006-05-05 21:19:54.0Z
From: Greg Fenton <greg.fenton_NOSPAM_@ianywhere.com>
Organization: iAnywhere Solutions Inc.
User-Agent: Thunderbird 1.5.0.2 (Windows/20060308)
MIME-Version: 1.0
Newsgroups: ianywhere.public.mbusinessanywhere.general
Subject: Re: question on form submission
References: <445b98cc.3116.1681692777@sybase.com>
In-Reply-To: <445b98cc.3116.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: gfenton-xp.sybase.com
Message-ID: <445bc17f$1@forums-2-dub>
X-Original-Trace: 5 May 2006 14:19:59 -0700, gfenton-xp.sybase.com
Lines: 29
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 5 May 2006 14:20:01 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 5 May 2006 14:19:54 -0700
X-Trace: forums-1-dub 1146863994 10.22.108.75 (5 May 2006 14:19:54 -0700)
X-Original-Trace: 5 May 2006 14:19:54 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:811
Article PK: 17801


VS wrote:
>
> I have a question on the form submission process. I am
> wondering if the sync server will start sending Forms to the
> app server as it is receiving each Form from the client.
>

Currently forms are posted in a non-sequential order. We have heard this
request before, but I don't think it has ever made it onto the priority
list.

> Does the Sync Server wait for acknowledgement from the
> client that it has FINISHED submitting all pending forms and
> only then the Sync Server STARTS submitting the forms to our
> Application server?

I'm not entirely clear what you are asking here. I believe that the
client uploads all forms in one fell swoop and then the sync server goes
off an posts them (in a non-sequential order), but I could be mistaken
about that...either way, the effect is the same.

greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/


Gabe Posted on 2006-05-12 01:04:24.0Z
Reply-To: "Gabe" <none@none.com>
From: "Gabe" <none@none.com>
Newsgroups: ianywhere.public.mbusinessanywhere.general
References: <445bc17f$1@forums-2-dub> <4462a221.30e5.1681692777@sybase.com>
Subject: Re: question on form submission
Lines: 69
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1807
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807
X-Original-NNTP-Posting-Host: 10.22.118.34
Message-ID: <4463defe$1@forums-2-dub>
X-Original-Trace: 11 May 2006 18:03:58 -0700, 10.22.118.34
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 11 May 2006 18:03:59 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 11 May 2006 18:04:24 -0700
X-Trace: forums-1-dub 1147395864 10.22.108.75 (11 May 2006 18:04:24 -0700)
X-Original-Trace: 11 May 2006 18:04:24 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:823
Article PK: 17806

You should still expect the forms that made it up will be submitted to your
app server, even if the connection was broken half way between the form
submissions. However, the device is still going to record those forms that
did make it as pending until it receives an acknowledgement of receipt from
the sync server (basically the http response success, failure, error, etc).



In general practice I wouldn't suggest relying on the form submission
process within M-Business to submit a group of forms if there is a
dependency on all or none of them making it. Each individual form
submission is considered independent of another by the M-Business server.
If you have multiple related forms, I suggest checking out the section
"Serializing forms" in the App Developer Guide. If your application is
"data heavy" and data and transaction integrity is a concern, you may also
want to look at using UltraLite/MobiLink, which does guarantee delivery.

<VS> wrote in message news:4462a221.30e5.1681692777@sybase.com...
> Thanks for your response, Greg. I have clarified my request
> below.
> > VS wrote:
> > >
> > > I have a question on the form submission process. I am
> > > wondering if the sync server will start sending Forms to
> > > the app server as it is receiving each Form from the
> > > client.
> >
> > Currently forms are posted in a non-sequential order. We
> > have heard this request before, but I don't think it has
> > ever made it onto the priority list.
> >
> > > Does the Sync Server wait for acknowledgement from the
> > > client that it has FINISHED submitting all pending forms
> > > and only then the Sync Server STARTS submitting the
> > > forms to our Application server?
> >
> > I'm not entirely clear what you are asking here. I
> > believe that the client uploads all forms in one fell
> > swoop and then the sync server goes off an posts them (in
> > a non-sequential order), but I could be mistaken about
> > that...either way, the effect is the same.
> >
> I understand that sync server will not request web content
> from app server until all of the forms have been posted.
> Our application uploads a number of (3 to 12) "data heavy"
> forms. If the forms are uploaded in random order from
> device to sync server, details may get uploaded and then the
> connection may break before the header record form is
> uploaded. In such a scenario, I am wondering if sync server
> will still send the detail records to the app server even if
> it has not received all of the pending forms from the
> device. Or will it discard subset of uploaded forms and
> wait for another complete data upload before sending any
> form data to the server?
>
> Thanks! - VS
>
> > greg.fenton
> > --
> > Greg Fenton
> > Consultant, Solution Services, iAnywhere Solutions
> > --------
> > Visit the iAnywhere Solutions Developer Community
> > Whitepapers, TechDocs, Downloads
> > http://www.ianywhere.com/developer/