[U2] UV Creating a Soap Request

2013-04-15 Thread Peter Cheney
Hi Everyone,

Recently I had some success getting a secure version of this to work etc. but 
now "they" want to change it to non-SSL so am trying to get plain old http to 
work.

Using this example as a starting point: 
https://u2devzone.rocketsoftware.com/accelerate/articles/soap-api

I've managed to (I think) translate the example above with our URL and soap 
action etc. but I have a question regarding the UV SOAPCreateRequest and hope 
someone may be able to assist.

The URL I specify in SOAPCreateRequest is 
http://our-dev.domain.com/apps/jobs/Services/Job.svc

However in the log file I get:
04/16/2013 15:05:16 [ 446706 925928 ] Assembled Request:
POST /apps/jobs/Services/Job.svc HTTP/1.1
Date: Tue, 16 Apr 2013 05:05:16 GMT
Host: our-dev.domain.com
SOAPAction: http://tempuri.org/IJobService/CreateJob1UserPartyRole
User-Agent: IBM UniVerse 11.x
Content-Type: text/xml; charset=utf-8
Content-Length: 1670

The POST seems to be missing the first part of the URL and with the response 
being a "400 bad request" I'm wondering if there's anything I can do to force 
the complete URL?
In particular is there a SOAP command that I'm missing? Briefly I do the 
following in this order:
Ret = setHTTPDefault( "VERSION" , "1.1" )
Ret = SOAPSetDefault( "VERSION" , "1.2" )
Ret = SOAPCreateRequest( URL , SoapAction , SoapReq )
Ret = SOAPSetRequestContent( SoapReq , PAYLOAD , 1 )
Ret = SOAPSubmitRequest( SoapReq, Timeout, RespHeaders, RespData, SoapStatus )

The return codes from above are:
setHTTPDefault result = 0
SOAPSetDefault result = 0
SOAPCreateRequest result  = 0
SOAPSetRequestContent result  = 0
SOAPSubmitRequest result  = 0

The SoapStatus from SOAPSubmitRequest above is:
Response status   : 400▒Bad Request

The RespHeaders returned from SOAPSubmitRequest above is:
Response headers  : 
Cache-Control▒private▒Server▒Microsoft-IIS/7.5▒X-Powered-By▒4.0.30319▒X-Powered-By▒ASP.NET▒Date▒Tue,
 16 Apr 2013 05:46:06 GMT▒Content-Length▒0

To me the soap action seems good and the xml in the payload looks ok too so it 
has to be something in the delivery. We're running UV 10.3.4 on AIX 5.3.

Reckon I must be missing something above so looking at the basic ref manual but 
it does not indicate if any of the soap commands therein and the above have 
other dependencies/pre-requisites and in what order they should occur. I guess 
a prior soap knowledge is expected but I'm just starting to get into this so if 
anyone can assist that'd be really helpful thanks.

Cheers
Peter


 ---
Note: 
This email (inc all attachments) is for the use of the intended recipient(s) 
only.
Privileged or confidential information may be contained in this communication. 
If you have received this email in error, please notify the sender immediately 
and then delete all copies of this message from your computer network. If you 
are not the intended recipient, you must not keep, use, disclose, copy or 
distribute this email without the author's prior permission. If you are the 
intended recipient and you do not wish to receive similar electronic messages 
from us in future, then please respond to the sender to this effect. 
We have taken precautions to minimise the risk of transmitting software 
viruses, but advise you to carry out your own virus checks on this email and 
its attachments. We do not accept liability for any loss or damage caused by 
software viruses and do not represent that this transmission is free from 
viruses or other defects. 
Firstmac Limited (ABN 59 094 145 963) (AFSL 290600) 
 ---
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] is this an INDEX ISSUE

2013-04-15 Thread Anthonys Lists
Not to say this has anything to do with it, but it sounds like this is a 
big file. Does CALL.STATUS just have a few valid values? And when you're 
running this report are you selecting a lot of values for one value of 
CALL.STATUS?


It shouldn't mess up, but indexing used to be iffy if you indexed 
hundreds of records for a single value of the index. If you're stressing 
the index that could be the problem.


Do you have a "date of appointment" field? Could you index on that? If 
you need rapid reports and you could run the report for "appointment == 
today" with that indexed, would that give you the fast reports you need?


Cheers,
Wol

On 15/04/2013 22:41, david yu wrote:

We did not have any OS or Universe upgrade.
  
here is the list.index
  

LIST.INDEX CALL.FILE ALL

Alternate Key Index Summary for file CALL.FILE
File... CALL.FILE
Indices 4 (2 A-type, 1 C-type, 1 D-type, 0 I-type, 0 SQL, 0 S-type)
Index Updates.. Enabled, No updates pending
Index name Type  BuildNulls  In DICT  S/M  Just Unique Field 
num/I-type
CALL.STATUS  DNot Reqd  YesYes  SL N13
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] is this an INDEX ISSUE

2013-04-15 Thread david yu
We did not have any OS or Universe upgrade.
 
here is the list.index
 
>LIST.INDEX CALL.FILE ALL
Alternate Key Index Summary for file CALL.FILE
File... CALL.FILE
Indices 4 (2 A-type, 1 C-type, 1 D-type, 0 I-type, 0 SQL, 0 S-type)
Index Updates.. Enabled, No updates pending
Index name Type  Build    Nulls  In DICT  S/M  Just Unique Field 
num/I-type
CALL.STATUS  D    Not Reqd  Yes    Yes  S    L N    13  
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] is this an INDEX ISSUE

2013-04-15 Thread Augusto Alonso
Hi.
Have you upgraded O.S. version and/or UV version recently?
Regards
--
Augusto

2013/4/15 br...@brianleach.co.uk 

> Could you post the LIST.INDEX results for this?
> If only one field is affected, there might be something specific about
> that.
>
>
> Regards
>
> Brian
> > On 15 April 2013 at 03:20 david yu  wrote:
> >
> >
> > hello Tom,
> >
> > I wish I could just ignore it but as I previously mentioned, our patient
> are
> > not getting their transportation appt which is not good service. I asked
> > assistance to our software vendor and supposedly they open a case with
> Rocket
> > but still no reply, I am hoping someone from this forum have a solution.
> like
> > you mentioned, it works in all the files that we have index except for 1
> and
> > giving me a big headache since without index the report take more than 2
> hours
> > and by the time the report output is done it is not a valid report.
> >
> >
> >
> >
> >
> >
> >
> > --
> >
> > Message: 1
> > Date: Sun, 14 Apr 2013 08:41:38 -0400
> > From: Tom Whitmore 
> > To: U2 Users List 
> > Subject: Re: [U2] is this an INDEX ISSUE?
> > Message-ID: 
> > Content-Type: text/plain; charset="us-ascii"
> >
> > Hi David,
> > To your real problem and question.  We are on UniVerse, using Linux and
> we
> > have had problems like what was initially reported.  I have not had time
> to
> > play and figure out what is going on.  We have moved from 10.x to
> 11.1.11 and
> > I have not tried recently.  Also, it seems to work fine on some files but
> > other files have problems and we aren't doing anything special with the
> > indexes that have problems (they are simple D or A type dictionaries)
> > Tom
> > RATEX Business Solutions
> >
> > -Original Message-
> > From: u2-users-boun...@listserver.u2ug.org
> > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Jenkins
> > Sent: Saturday, April 13, 2013 3:30 AM
> > To: david yu; U2 Users List
> > Cc: u2-users@listserver.u2ug.org
> > Subject: Re: [U2] is this an INDEX ISSUE?
> >
> > Was the file open to a UniVerse session! Or we're you EXECUTING the
> RESIZE
> > from a process that had the file open? The latter can cause issues
> -close the
> > file first. If it's AIX and you are running multiple UniVerse shells from
> > crown tab as foreground tasks (I.e. not as phantoms or by using
> executive) at
> > the same time it could be relevant too.
> >
> > Regards
> >
> > JayJay
> >
> > On 13 Apr 2013, at 00:46, david yu  wrote:
> >
> > > hello,
> > >
> > > We have a file that is updated almost every minute for transportation
> > > appointment, we index a field in a file to make the reporting much
> faster
> > > but recently we noticed when we ran the report not all the
> transportation
> > > appt shows up on the report, so customer doesnt get their
> transportation. We
> > > have been rebuilding the index every night but problem still exists.
> Anyone
> > > encounter this issue? we are on HP-UX b.11.23.
> > >
> > > thanks in advance.
> > > ___
> > > U2-Users mailing list
> > > U2-Users@listserver.u2ug.org
> > > http://listserver.u2ug.org/mailman/listinfo/u2-users
> > ___
> > U2-Users mailing list
> > U2-Users@listserver.u2ug.org
> > http://listserver.u2ug.org/mailman/listinfo/u2-users
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] uvuidlog.txt - who is parent & error codes

2013-04-15 Thread Augusto Alonso
Hi Manu.
I have had the same errors on some boxes with 10.2.10 UV version.

The only reference I've found is this entry in 10.2.10 PATCHLIST:

8588 Under certain circumstances, the UniVerse login process on Windows
may result in the user id incorrectly being set to -2. At the
current release, logging has been added to assist in determining
the reason for this behavior. The logging can be enabled through
the environment variable UV_UID. If this environment variable
has been set and an error occurs resulting in the uid being set
to -2, an error will be logged in the {uvhome}\uvtemp\uvuidlog.txt
file (uvhome corresponds to the folder in which UniVerse has
been installed). The logged error should provide more descriptive
information on the reason the uid has been set to -2.



We don't know where the errors come from.
We only erase this file regularly in order to prevent excesive grow.

 HTH

--
Augusto

2013/4/12 Manu Fernandes 

> Hi u2Masters,
>
> On a UV/NT, we receive a file uvtemp\uvuidlog.txt filled with errors like :
>
> - Wed Mar 20 22:18:08 2013  pid = 10088 lookup_name() failed. Error = 122
>
> - Sat Jul 11 23:05:20 2009   pid = 6088 NetGetDCName() failed. Error = 997
>
> I found nothing about this file !
> - who is the producer ?
> - any idea where I can found doc about error codes ?
>
> Thanks for any help.
> manu
>
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] is this an INDEX ISSUE

2013-04-15 Thread br...@brianleach.co.uk
Could you post the LIST.INDEX results for this?
If only one field is affected, there might be something specific about that.


Regards

Brian
> On 15 April 2013 at 03:20 david yu  wrote:
>
>
> hello Tom,
> 
> I wish I could just ignore it but as I previously mentioned, our patient are
> not getting their transportation appt which is not good service. I asked
> assistance to our software vendor and supposedly they open a case with Rocket
> but still no reply, I am hoping someone from this forum have a solution. like
> you mentioned, it works in all the files that we have index except for 1 and
> giving me a big headache since without index the report take more than 2 hours
> and by the time the report output is done it is not a valid report.
> 
> 
>
> 
>
> 
>
> --
>
> Message: 1
> Date: Sun, 14 Apr 2013 08:41:38 -0400
> From: Tom Whitmore 
> To: U2 Users List 
> Subject: Re: [U2] is this an INDEX ISSUE?
> Message-ID: 
> Content-Type: text/plain; charset="us-ascii"
>
> Hi David,
> To your real problem and question.  We are on UniVerse, using Linux and we
> have had problems like what was initially reported.  I have not had time to
> play and figure out what is going on.  We have moved from 10.x to 11.1.11 and
> I have not tried recently.  Also, it seems to work fine on some files but
> other files have problems and we aren't doing anything special with the
> indexes that have problems (they are simple D or A type dictionaries)
> Tom
> RATEX Business Solutions
>
> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org
> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Jenkins
> Sent: Saturday, April 13, 2013 3:30 AM
> To: david yu; U2 Users List
> Cc: u2-users@listserver.u2ug.org
> Subject: Re: [U2] is this an INDEX ISSUE?
>
> Was the file open to a UniVerse session! Or we're you EXECUTING the RESIZE
> from a process that had the file open? The latter can cause issues -close the
> file first. If it's AIX and you are running multiple UniVerse shells from
> crown tab as foreground tasks (I.e. not as phantoms or by using executive) at
> the same time it could be relevant too.
>
> Regards
>
> JayJay
>
> On 13 Apr 2013, at 00:46, david yu  wrote:
>
> > hello,
> > 
> > We have a file that is updated almost every minute for transportation
> > appointment, we index a field in a file to make the reporting much faster
> > but recently we noticed when we ran the report not all the transportation
> > appt shows up on the report, so customer doesnt get their transportation. We
> > have been rebuilding the index every night but problem still exists. Anyone
> > encounter this issue? we are on HP-UX b.11.23.
> > 
> > thanks in advance.
> > ___
> > U2-Users mailing list
> > U2-Users@listserver.u2ug.org
> > http://listserver.u2ug.org/mailman/listinfo/u2-users
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users