Google Search Results

Clear Results

WebCOBRA.com Community Message Boards

System Integrator

dpbarbella
Posts: 13
Since: 02/06/2008

ERROR: The request failed with an empty response
02/07/2008 09:22 AMReply

I continue to receive the error ("The request failed with an empty response") when attempting an import to your API. However, when submitting the same XML through the Management Console everything is fine.

I'm using .NET 2.0 referencing your SystemIntegrator service and running the ImportXMLToWebCobra method.



jwolgamott
Posts: 257
Since: 09/26/2005

ERROR: The request failed with an empty response
02/08/2008 02:09 PMReply

Daniel --

I just created a sample app, and have a suggestion for you..

In your settings.settings file, it stores the location of the web service, and it looks like Visual Studio stored it without the SSL part of the URL

If you'll change this to
https://app.webcobra .com/exec/SystemInte grator.asmx

Everything should work for you.

The "empty response" was likely a 301 or 302 redirection to enforce SSL encryption.



Systems should be free (to interact with others)

jwolgamott
Posts: 257
Since: 09/26/2005

ERROR: The request failed with an empty response
02/08/2008 02:11 PMReply

One final note: on the URL entered above, you shouldn't have any spaces... probably obvious, but just wanted to put that out there.



Systems should be free (to interact with others)

dpbarbella
Posts: 13
Since: 02/06/2008

RE: NEW ERROR:
02/25/2008 08:39 AMReply

The EXECUTE permission was denied on the object 'SystemIntegratorSecurity', database...

Does this mean we need to setup permissions for the SystemIntegrator WS in some way?



jwolgamott
Posts: 257
Since: 09/26/2005

RE: NEW ERROR:
02/25/2008 09:13 AMReply

It looks ilke we had denied permission to the system ingrator webservice inadvertantly after our migration. This only affected the automated webservice -- Uploading the file manually through the system would have worked.

If you try again, it will be able to authenticate your request.



Systems should be free (to interact with others)

dpbarbella
Posts: 13
Since: 02/06/2008

RE: NEW ERROR 2
02/25/2008 10:49 AMReply

Server was unable to process request. ---> SQL Exception 229 caught on procedure SystemIntegrationUserKeys. Error: The EXECUTE permission was denied on the object 'SystemIntegrationUserKeys', database...

New Error Msg



jwolgamott
Posts: 257
Since: 09/26/2005

RE: NEW ERROR 2
02/26/2008 01:11 PMReply

OK, I ran through an entire process and logged which procedures needed to be granted execute rights for you.

You shouldn't have anymore 229 execute permissions errors from now on.



Systems should be free (to interact with others)

dpbarbella
Posts: 13
Since: 02/06/2008

RE: NEW ERROR 3
02/26/2008 02:40 PMReply

Thanks for all your assistance :)
I think we are almost there.

ERROR: /WebCobra/SecurityLogin/@Administra torLoginCode not supplied

I have included the 'SecurityLogin' node with the correct data. NOTE: our username is 2 words separated by a space.



jwolgamott
Posts: 257
Since: 09/26/2005

SecurityLogin
02/27/2008 09:40 AMReply

Excellent! it sounds like the XML file you're sending across doesn't have the correct formatting.

You can test this be sending in just a normal XML file that doesn't do anything. Step 1 is for it to authenticate you.

Here's an XML stub that I've changed my password with... does yours look like that?

http://s3.amazonaws.com/devcenter.w ebcobra.com/thread46-securitylogin. xml

(You might have to remove spaces in the link)

(And the username with a space shouldn't matter)



Systems should be free (to interact with others)

dpbarbella
Posts: 13
Since: 02/06/2008

RE: SecurityLogin
03/03/2008 08:03 AMReply

Tried the 'Do Nothing' version of the XML with new results...

Error: /WebCobra/SecurityLogin/@Administra torLoginCode not supplied

However I have supplied the correct authentication and the XML structure appears fine.



jwolgamott
Posts: 257
Since: 09/26/2005

RE: SecurityLogin
03/03/2008 11:10 AMReply

Do you feel comfortable posting a link to your XML that you're sending in? Make sure you XXXXX out your password.

Or, you can just email the XML document to spt@travisoft.com --- paste in the link to this thread and it'll get sent over to me and I can take a look.

It seems very likely that the formatting is slightly off of the XML document, so we should get an answer to you very soon.



Systems should be free (to interact with others)

jwolgamott
Posts: 257
Since: 09/26/2005

RE: SecurityLogin
03/03/2008 12:37 PMReply

I received the XML you sent to spt@travisoft.com, and when using it I don't receive the same message you're receiving.

I receive that the credentials aren't valid, which of course they are not because of the XXXX on the password.

I've uploaded the XML uploader that I used to validate the service.

http://devcenter.webcobra.com.s3.am azonaws.com/XMLLoader.zip

You will probably need to strip out and spaces in the link --

When I used your XML and a username with a space in it, it worked perfectly.

Would you confirm for me that you still get the "not supplied" error?

The next step will be for us to get your actual password, but I'd like to avoid that if possible.



Systems should be free (to interact with others)

dpbarbella
Posts: 13
Since: 02/06/2008

RE: SecurityLogin
03/03/2008 03:23 PMReply

Thanks for the code snippet...

The problem with my code was using the 'CreateElement' method to create the XmlElement. I used the 'DocumentElement' property per your example and same code works fine.



jwolgamott
Posts: 257
Since: 09/26/2005

RE: SecurityLogin
03/03/2008 03:30 PMReply

Thanks for including your solution to the DevCenter --

The problem may have ended up being an InnerText vs OuterText situation. So the string containing the XML, as received by the WebCOBRA webservice, did not contain the outer WebCOBRA node.



Systems should be free (to interact with others)

dpbarbella
Posts: 13
Since: 02/06/2008

RE: SecurityLogin
03/10/2008 08:16 AMReply

ERROR: Module Company threw error: Edit Mode requires a User Defined Key!

Do ALL WebCobra records require a UDK for the service to work?



jwolgamott
Posts: 257
Since: 09/26/2005

RE: SecurityLogin
03/10/2008 08:18 AMReply

It depends on what you're trying to do. The most used case is adding a Qualified Beneficiary. When doing that, you'll need keys for:

Client/Employer (Company)
Sponsor(s)
Benefit Plan(s)
Departments (if using)



Systems should be free (to interact with others)

dpbarbella
Posts: 13
Since: 02/06/2008

RE: SecurityLogin
03/10/2008 08:37 AMReply

Can you supply us with an XSD schema for your import xml?



jwolgamott
Posts: 257
Since: 09/26/2005

RE: SecurityLogin
03/10/2008 08:44 AMReply

At this time we don't have one -- but I think it's an excellent idea.

It'll be on our list of resources to make available to developers.

The best thing we have now are the examples in IT Resources.



Systems should be free (to interact with others)

dpbarbella
Posts: 13
Since: 02/06/2008

RE: SecurityLogin
03/24/2008 09:30 AMReply

The sample 'Add QB Groups' shows attributes with values of {EmptyString} -> i.e. MonthsOfCoreCreditableCoverage=""

- What happens if these attributes are left out of the posting XML (as with null)?
- Do they have default values (ints & dates etc.)?

Thanks,
Dan



jwolgamott
Posts: 257
Since: 09/26/2005

RE: SecurityLogin
03/25/2008 02:13 PMReply

I can understand why you were confused on that! I had to look it up myself.

The Core Creditable Coverage fields are only used when adding current Employees.

When adding a DOL Employee through the system, it will ask you if you want to set the Core Creditable Coverage date for the employee. If it is set, then the "COBRA Coverage Confirmation" will print out along with the COBRA General Notice, which is the DOL Notice to newly covered employees.

The fields below only apply to DOL Employees:
MonthsOfCoreCreditableCoverage="" DaysOfCoreCreditableCoverage="" CoreCreditableCoverageStartDate="" MonthsOfPreExistingConditionMaximum Exclusion="" DaysOfPreExistingConditionMazimumEx clusion=""

Bottom line -- just remove the attribute completely if you're adding or manipulating QBs.

Hope that helps!



Systems should be free (to interact with others)
Return to Forum