05-24-2006 08:50 AM - edited 03-13-2019 01:25 PM
Hi,
i have problems to add CSS and LineGroup using SOAP-AXL.
If i add partition (addRoutePartition)it's all ok, but if i add an object that has members (addCSS or addLineGroup) i haven't code errors but the objects is not created.
Can you help me?
This is the code:
axlquery("addLineGroup","
<lineGroup>
<name>LGtest</name>
<distributionAlgorithm>Circular</distributionAlgorithm>
<rnaReversionTimeout>10</rnaReversionTimeout>
<huntAlgorithmNoAnswer>Stop hunting</huntAlgorithmNoAnswer>
<members>
<member>
<lineSelectionOrder>1</lineSelectionOrder>
<dnPatternAndPartition>
<dnPattern>9300</dnPattern>
<routePartitionName>LabPT</routePartitionName>
</dnPatternAndPartition>
</member>
</members>
</lineGroup>
", callManager, callManagerUserId, callManagerPassword);
05-24-2006 12:26 PM
You aren't getting a SOAP fault? That would be a bug in itself, one would think.
05-29-2006 03:50 AM
Have you tried just adding an empty group, then adding members via update? Also, have you tried adding members via line css rather than dn and partition, or dn and partition uuid rather than partition name? I know there are generally more and less convenient ways of doing things, but internally everything is connected to the uuids and if you do a get on an existing linegroup, you'll see members with uuids (I think.. I haven't done it but that's my experience with other get operations).
And I'd like to re-iterate my question.. do you get no error whatsoever? For an add operation, you should get a uuid back.. do you get it and if you search the appropriate DB table, is it there?
04-22-2008 06:00 AM
I would like to confirm, this is an issue. I attempted adds of CSS alone, adds of CSS with members that are UUID of route partitions (looking them up before building the string) and attempted adds of CSS with members of RoutePartition Name.
No dice.
The simple object adds are fine (Route Partition).
My string is being built correctly, I'm able to confirm that during debugging. The axl post looks like it goes through as there are NO ERRORS.
04-22-2008 06:10 AM
Here is an example post:
04-22-2008 03:21 PM
you are missing index, see my reply on your other post
04-23-2008 09:45 AM
Thanks for your help in both posts.
Referring to my other, with index included, it still does nothing. (Response 200 ok sent back, no DB writing, no errors).
04-23-2008 10:02 AM
The issue was in the string build of the members, a tag wasnt closed. Thanks!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide